#9E2896#9E2896
#9E2896 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.194 H 331.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2896 |
|---|---|
| RGB | rgb(158, 40, 150) |
| HSL | hsl(304, 60%, 39%) |
| HSV | hsv(304, 75%, 62%) |
| CMYK | cmyk(0%, 74.7%, 5.1%, 38%) |
| CIE-LAB | lab(39.56, 59.69, -34.19) |
| CIE-LCH | lch(39.56, 68.79, 330.19°) |
| OKLab | oklab(50.47% 0.1701 -0.0942) |
| OKLCH | oklch(50.47% 0.194 331) |
| XYZ | xyz(20.3643, 10.9903, 29.8970) |
| Luminance | 0.1099 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.80
Barney Purple
#A00498
ΔE00 2.75
Medium Purple
#9E43A2
ΔE00 4.96
Ugly Purple
#A442A0
ΔE00 5.06
Barney
#AC1DB8
ΔE00 5.63
Darkmagenta
#8B008B
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2896 #289E30
analogous
#6B289E #9E2896 #9E285B
triadic
#9E2896 #969E28 #28969E
tetradic
#9E2896 #9E6B28 #289E30 #285B9E
square
#9E2896 #9E6B28 #289E30 #285B9E
split-complementary
#9E2896 #5B9E28 #289E6B
monochromatic
#3C0F39 #6D1C68 #9E2896 #CC37C2 #D968D1
Accessibility & contrast
On white
6.57
#9E2896 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#9E2896 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2896
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2896 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2896 | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C5399
Deuteranopia (green-blind)
#4D6393
Tritanopia (blue-blind)
#A4375D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #9e2896; /* rgb */ color: rgb(158, 40, 150); /* oklch */ color: oklch(50.5% 0.194 331.0);
Tailwind
colors: {
custom: {
50: '#be6fb5',
500: '#9e2896',
950: '#000000',
},
}SCSS
$custom: #9e2896; $custom-light: #be6fb5; $custom-dark: #000000;
JSON
{
"hex": "#9e2896",
"rgb": {
"r": 158,
"g": 40,
"b": 150
},
"hsl": {
"h": 304.068,
"s": 59.596,
"l": 38.824
},
"oklch": {
"l": 0.50471,
"c": 0.19448,
"h": 331
},
"luminance": 0.10989
}Semantic roles & 50–950 ramp
primary
#9E2896
secondary
#63BF69
accent
#E35045
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80