#9E2294#9E2294
#9E2294 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.199 H 331.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2294 |
|---|---|
| RGB | rgb(158, 34, 148) |
| HSL | hsl(305, 65%, 38%) |
| HSV | hsv(305, 78%, 62%) |
| CMYK | cmyk(0%, 78.5%, 6.3%, 38%) |
| CIE-LAB | lab(38.82, 61.20, -34.16) |
| CIE-LCH | lch(38.82, 70.09, 330.83°) |
| OKLab | oklab(49.9% 0.1754 -0.0941) |
| OKLCH | oklch(49.9% 0.199 331.8) |
| XYZ | xyz(20.0179, 10.5529, 28.9939) |
| Luminance | 0.1055 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.92
Barney Purple
#A00498
ΔE00 2.14
Darkmagenta
#8B008B
ΔE00 5.41
Medium Purple
#9E43A2
ΔE00 5.76
Ugly Purple
#A442A0
ΔE00 5.82
Barney
#AC1DB8
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2294 #229E2C
analogous
#6A229E #9E2294 #9E2256
triadic
#9E2294 #949E22 #22949E
tetradic
#9E2294 #9E6A22 #229E2C #22569E
square
#9E2294 #9E6A22 #229E2C #22569E
split-complementary
#9E2294 #569E22 #229E6A
monochromatic
#390C36 #6C1765 #9E2294 #D02DC3 #DC5ED2
Accessibility & contrast
On white
6.75
#9E2294 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#9E2294 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2294
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2294 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2294 | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#165097
Deuteranopia (green-blind)
#4C6191
Tritanopia (blue-blind)
#A5325A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9e2294; /* rgb */ color: rgb(158, 34, 148); /* oklch */ color: oklch(49.9% 0.199 331.8);
Tailwind
colors: {
custom: {
50: '#be6cb4',
500: '#9e2294',
950: '#000000',
},
}SCSS
$custom: #9e2294; $custom-light: #be6cb4; $custom-dark: #000000;
JSON
{
"hex": "#9e2294",
"rgb": {
"r": 158,
"g": 34,
"b": 148
},
"hsl": {
"h": 304.839,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.49901,
"c": 0.19903,
"h": 331.8
},
"luminance": 0.10551
}Semantic roles & 50–950 ramp
primary
#9E2294
secondary
#5BC163
accent
#E84E40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80