#9E1F96#9E1F96
#9E1F96 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.8% C 0.203 H 331.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F96 |
|---|---|
| RGB | rgb(158, 31, 150) |
| HSL | hsl(304, 67%, 37%) |
| HSV | hsv(304, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 5.1%, 38%) |
| CIE-LAB | lab(38.64, 62.34, -35.65) |
| CIE-LCH | lch(38.64, 71.81, 330.23°) |
| OKLab | oklab(49.81% 0.1778 -0.0984) |
| OKLCH | oklch(49.81% 0.203 331) |
| XYZ | xyz(20.0955, 10.4527, 29.8074) |
| Luminance | 0.1045 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 1.69
Warm Purple
#952E8F
ΔE00 2.23
Darkmagenta
#8B008B
ΔE00 5.14
Barney
#AC1DB8
ΔE00 5.68
Medium Purple
#9E43A2
ΔE00 5.93
Ugly Purple
#A442A0
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F96 #1F9E27
analogous
#671F9E #9E1F96 #9E1F56
triadic
#9E1F96 #969E1F #1F969E
tetradic
#9E1F96 #9E671F #1F9E27 #1F569E
square
#9E1F96 #9E671F #1F9E27 #1F569E
split-complementary
#9E1F96 #569E1F #1F9E67
monochromatic
#380B35 #6B1565 #9E1F96 #D129C7 #DE59D6
Accessibility & contrast
On white
6.80
#9E1F96 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#9E1F96 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E1F96
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F96 | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D5099
Deuteranopia (green-blind)
#4A6193
Tritanopia (blue-blind)
#A4315B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9e1f96; /* rgb */ color: rgb(158, 31, 150); /* oklch */ color: oklch(49.8% 0.203 331.0);
Tailwind
colors: {
custom: {
50: '#bf6bb5',
500: '#9e1f96',
950: '#000000',
},
}SCSS
$custom: #9e1f96; $custom-light: #bf6bb5; $custom-dark: #000000;
JSON
{
"hex": "#9e1f96",
"rgb": {
"r": 158,
"g": 31,
"b": 150
},
"hsl": {
"h": 303.78,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.49812,
"c": 0.2032,
"h": 331
},
"luminance": 0.10451
}Semantic roles & 50–950 ramp
primary
#9E1F96
secondary
#56C25D
accent
#EA493E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80