Export

Code

/* Iris Violet — colorset.net */
:root {
  --color-1: #5A4FCF;
  --color-2: #7266D9;
  --color-3: #8A7DE3;
  --color-4: #A294ED;
  --color-5: #BAABF7;

  --color-bg: #F7F5FF;
  --color-surface: #EDEBFA;
  --color-border: #D5D2E4;
  --color-text: #46477E;
  --color-muted: #666882;
  --color-primary: #5A4FCF;
  --color-on-primary: #FFFFFF;
  --color-accent: #7A6BB2;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0D0D1E;
    --color-surface: #171729;
    --color-border: #2A2B42;
    --color-text: #B8B3D6;
    --color-muted: #827E98;
    --color-primary: #5D52D2;
    --color-on-primary: #FFFFFF;
    --color-accent: #BAABF7;
    --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 #BAABF7adjusted for contrast · from #5A4FCF
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #5A4FCFadjusted for contrast · from #BAABF7
Muted textderivedderived
Primaryfrom palette · color 1adjusted for contrast · from #5A4FCF
On primaryderivedderived
Accentadjusted for contrast · from #7266D9from palette · color 5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.90:1AAA pass 4.5:1
Text on surface7.25:1AAA pass 4.5:1
Muted text on background5.03:1AA pass 4.5:1
Label on primary6.08:1AA pass 4.5:1
Label on accent4.59:1AA pass 4.5:1
Primary on background5.63:1AA pass 3:1
Accent on background4.25:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background9.56:1AAA pass 4.5:1
Text on surface8.78:1AAA pass 4.5:1
Muted text on background4.93:1AA pass 4.5:1
Label on primary5.83:1AA pass 4.5:1
Label on accent9.38:1AAA pass 4.5:1
Primary on background3.30:1AA Large pass 3:1
Accent on background9.38: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)#7266D9 (Text 2)#8A7DE3 (Text 3)#A294ED (Text 4)#BAABF7 (Text 5)
#5A4FCFSame color1.34—1.77—2.31—2.97—
#7266D91.34—Same color1.33—1.73—2.22—
#8A7DE31.77—1.33—Same color1.31—1.67—
#A294ED2.31—1.73—1.31—Same color1.28—
#BAABF72.97—2.22—1.67—1.28—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#5A4FCF#7266D9#8A7DE3#A294ED#BAABF7

Variations

About Iris Violet

Iris Violet is a cool purple palette of 5 colors that runs from light purple #BAABF7 to vivid purple #5A4FCF. With a hue spread of just 12°, it is effectively monochromatic: #5A4FCF, #7266D9 and #8A7DE3 differ mostly in lightness. All five colors stay in a narrow mid-tone band (51% to 78% lightness, #5A4FCF to #BAABF7), so text and background roles are adjusted for contrast. Saturation is medium (mean OKLCH chroma 0.149, peaking at 0.190 in #5A4FCF); the colors are clear without being loud. In light mode #F7F5FF becomes the background with #46477E text at 7.9:1, and #5A4FCF takes the primary role. With #5A4FCF leading, good fits include music and nightlife, premium products and creative studios.

Iris Violet color palette: #5A4FCF, #7266D9, #8A7DE3, #A294ED, #BAABF7
Share image for Iris Violet

Gradients in similar colors