#9E2E8F#9E2E8F
#9E2E8F is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.6% C 0.182 H 333.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2E8F |
|---|---|
| RGB | rgb(158, 46, 143) |
| HSL | hsl(308, 55%, 40%) |
| HSV | hsv(308, 71%, 62%) |
| CMYK | cmyk(0%, 70.9%, 9.5%, 38%) |
| CIE-LAB | lab(39.93, 56.50, -29.36) |
| CIE-LCH | lch(39.93, 63.67, 332.54°) |
| OKLab | oklab(50.61% 0.1637 -0.0803) |
| OKLCH | oklch(50.61% 0.182 333.9) |
| XYZ | xyz(20.0356, 11.2079, 27.0894) |
| Luminance | 0.1121 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.96
Barney Purple
#A00498
ΔE00 4.15
Ugly Purple
#A442A0
ΔE00 4.78
Medium Purple
#9E43A2
ΔE00 5.00
Light Eggplant
#894585
ΔE00 5.70
Darkmagenta
#8B008B
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2E8F #2E9E3D
analogous
#752E9E #9E2E8F #9E2E57
triadic
#9E2E8F #8F9E2E #2E8F9E
tetradic
#9E2E8F #9E752E #2E9E3D #2E579E
square
#9E2E8F #9E752E #2E9E3D #2E579E
split-complementary
#9E2E8F #579E2E #2E9E75
monochromatic
#3F1239 #6F2064 #9E2E8F #C841B6 #D671C8
Accessibility & contrast
On white
6.48
#9E2E8F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#9E2E8F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2E8F
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2E8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2E8F | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5492
Deuteranopia (green-blind)
#53648C
Tritanopia (blue-blind)
#A5385B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #9e2e8f; /* rgb */ color: rgb(158, 46, 143); /* oklch */ color: oklch(50.6% 0.182 333.9);
Tailwind
colors: {
custom: {
50: '#be71b0',
500: '#9e2e8f',
950: '#000000',
},
}SCSS
$custom: #9e2e8f; $custom-light: #be71b0; $custom-dark: #000000;
JSON
{
"hex": "#9e2e8f",
"rgb": {
"r": 158,
"g": 46,
"b": 143
},
"hsl": {
"h": 308.036,
"s": 54.902,
"l": 40
},
"oklch": {
"l": 0.50614,
"c": 0.18233,
"h": 333.9
},
"luminance": 0.11206
}Semantic roles & 50–950 ramp
primary
#9E2E8F
secondary
#6BBD76
accent
#DE5D4A
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F