Export

Code

/* Iris Petal — colorset.net */
:root {
  --color-1: #5A4FCF;
  --color-2: #7466E3;
  --color-3: #8E7FF7;
  --color-4: #A999FF;
  --color-5: #C4B3FF;

  --color-bg: #F7F5FF;
  --color-surface: #EEEBFA;
  --color-border: #D5D2E4;
  --color-text: #46477E;
  --color-muted: #666882;
  --color-primary: #7163E0;
  --color-on-primary: #FFFFFF;
  --color-accent: #7B69AF;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0D0D1E;
    --color-surface: #171729;
    --color-border: #2A2B42;
    --color-text: #C2BBDE;
    --color-muted: #847F99;
    --color-primary: #7163E0;
    --color-on-primary: #FFFFFF;
    --color-accent: #C4B3FF;
    --color-on-accent: #0D0D1E;
  }
}

Color values

ColorHEXRGBHSLOKLCH
1
2
3
4
5

Roles & contrast

Original colors are kept; roles are adjusted only when needed for contrast.

RoleLight modeDark mode
Backgroundadjusted for contrast · from #C4B3FFadjusted for contrast · from #5A4FCF
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #5A4FCFadjusted for contrast · from #C4B3FF
Muted textderivedderived
Primaryadjusted for contrast · from #7466E3adjusted for contrast · from #7466E3
On primaryderivedderived
Accentadjusted for contrast · from #7466E3from palette · color 5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.90:1AAA pass 4.5:1
Text on surface7.27:1AAA pass 4.5:1
Muted text on background5.03:1AA pass 4.5:1
Label on primary4.60:1AA pass 4.5:1
Label on accent4.69:1AA pass 4.5:1
Primary on background4.26:1AA Large pass 3:1
Accent on background4.34:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background10.48:1AAA pass 4.5:1
Text on surface9.62:1AAA pass 4.5:1
Muted text on background5.01:1AA pass 4.5:1
Label on primary4.60:1AA pass 4.5:1
Label on accent10.28:1AAA pass 4.5:1
Primary on background4.17:1AA Large pass 3:1
Accent on background10.28:1AAA pass 3:1

Every color on every color

Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.

Every color on every color
Background / Text#5A4FCF (Text 1)#7466E3 (Text 2)#8E7FF7 (Text 3)#A999FF (Text 4)#C4B3FF (Text 5)
#5A4FCFSame color1.38—1.89—2.52—3.25AA Large
#7466E31.38—Same color1.37—1.83—2.36—
#8E7FF71.89—1.37—Same color1.33—1.72—
#A999FF2.52—1.83—1.33—Same color1.29—
#C4B3FF3.25AA Large2.36—1.72—1.29—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#5A4FCF#7466E3#8E7FF7#A999FF#C4B3FF

Variations

About Iris Petal

Iris Petal is a cool purple palette of 5 colors that runs from light purple #C4B3FF to vivid purple #5A4FCF. With a hue spread of just 13°, it is effectively monochromatic: #5A4FCF, #7466E3 and #8E7FF7 differ mostly in lightness. All five colors stay in a narrow mid-tone band (51% to 81% lightness, #5A4FCF to #C4B3FF), so text and background roles are adjusted for contrast. Saturation is high (mean OKLCH chroma 0.160, peaking at 0.190 in #5A4FCF); the colors feel saturated and energetic. Text contrast reaches 7.9:1 in light mode and 10.5:1 in dark mode, with #7163E0 as primary and #7B69AF as accent. Its vivid and monochrome character, led by #7466E3, suits premium products, music and nightlife and creative studios.

Iris Petal color palette: #5A4FCF, #7466E3, #8E7FF7, #A999FF, #C4B3FF
Share image for Iris Petal

Gradients in similar colors