#9E1E9F#9E1E9F
#9E1E9F is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.3% C 0.211 H 327.8°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1E9F |
|---|---|
| RGB | rgb(158, 30, 159) |
| HSL | hsl(300, 68%, 37%) |
| HSV | hsv(300, 81%, 62%) |
| CMYK | cmyk(0.6%, 81.1%, 0%, 37.6%) |
| CIE-LAB | lab(39.07, 64.03, -40.41) |
| CIE-LCH | lch(39.07, 75.72, 327.74°) |
| OKLab | oklab(50.29% 0.1783 -0.1122) |
| OKLCH | oklch(50.29% 0.211 327.8) |
| XYZ | xyz(20.8226, 10.7024, 33.7632) |
| Luminance | 0.1070 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 1.99
Warm Purple
#952E8F
ΔE00 3.32
Barney
#AC1DB8
ΔE00 4.35
Darkmagenta
#8B008B
ΔE00 5.41
Medium Purple
#9E43A2
ΔE00 5.77
Purply
#983FB2
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1E9F #1F9F1E
analogous
#5E1E9F #9E1E9F #9F1E60
triadic
#9E1E9F #9F9E1E #1E9F9E
tetradic
#9E1E9F #9F5E1E #1F9F1E #1E609F
square
#9E1E9F #9F5E1E #1F9F1E #1E609F
split-complementary
#9E1E9F #609F1E #1E9F5E
monochromatic
#380B38 #6B146C #9E1E9F #D128D2 #DE58DF
Accessibility & contrast
On white
6.69
#9E1E9F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#9E1E9F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E1E9F
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1E9F | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#44629C
Tritanopia (blue-blind)
#A33660
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9e1e9f; /* rgb */ color: rgb(158, 30, 159); /* oklch */ color: oklch(50.3% 0.211 327.8);
Tailwind
colors: {
custom: {
50: '#bf6cbc',
500: '#9e1e9f',
950: '#000000',
},
}SCSS
$custom: #9e1e9f; $custom-light: #bf6cbc; $custom-dark: #000000;
JSON
{
"hex": "#9e1e9f",
"rgb": {
"r": 158,
"g": 30,
"b": 159
},
"hsl": {
"h": 299.535,
"s": 68.254,
"l": 37.059
},
"oklch": {
"l": 0.50287,
"c": 0.21066,
"h": 327.8
},
"luminance": 0.10701
}Semantic roles & 50–950 ramp
primary
#9E1E9F
secondary
#56C356
accent
#EB3D3E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81