#9E2E92#9E2E92
#9E2E92 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.8% C 0.185 H 332.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2E92 |
|---|---|
| RGB | rgb(158, 46, 146) |
| HSL | hsl(306, 55%, 40%) |
| HSV | hsv(306, 71%, 62%) |
| CMYK | cmyk(0%, 70.9%, 7.6%, 38%) |
| CIE-LAB | lab(40.08, 56.98, -30.95) |
| CIE-LCH | lch(40.08, 64.84, 331.49°) |
| OKLab | oklab(50.77% 0.1639 -0.0849) |
| OKLCH | oklch(50.77% 0.185 332.6) |
| XYZ | xyz(20.2659, 11.3001, 28.3023) |
| Luminance | 0.1130 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.79
Barney Purple
#A00498
ΔE00 3.86
Ugly Purple
#A442A0
ΔE00 4.51
Medium Purple
#9E43A2
ΔE00 4.63
Light Eggplant
#894585
ΔE00 5.86
Barney
#AC1DB8
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2E92 #2E9E3A
analogous
#722E9E #9E2E92 #9E2E5A
triadic
#9E2E92 #929E2E #2E929E
tetradic
#9E2E92 #9E722E #2E9E3A #2E5A9E
square
#9E2E92 #9E722E #2E9E3A #2E5A9E
split-complementary
#9E2E92 #5A9E2E #2E9E72
monochromatic
#3F123A #6F2066 #9E2E92 #C841B9 #D671CB
Accessibility & contrast
On white
6.44
#9E2E92 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#9E2E92 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2E92
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2E92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2E92 | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#295495
Deuteranopia (green-blind)
#52648F
Tritanopia (blue-blind)
#A5395C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #9e2e92; /* rgb */ color: rgb(158, 46, 146); /* oklch */ color: oklch(50.8% 0.185 332.6);
Tailwind
colors: {
custom: {
50: '#be71b2',
500: '#9e2e92',
950: '#000000',
},
}SCSS
$custom: #9e2e92; $custom-light: #be71b2; $custom-dark: #000000;
JSON
{
"hex": "#9e2e92",
"rgb": {
"r": 158,
"g": 46,
"b": 146
},
"hsl": {
"h": 306.429,
"s": 54.902,
"l": 40
},
"oklch": {
"l": 0.50774,
"c": 0.18461,
"h": 332.6
},
"luminance": 0.11298
}Semantic roles & 50–950 ramp
primary
#9E2E92
secondary
#6BBD74
accent
#DE594A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80