#9E2295#9E2295
#9E2295 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 50.0% C 0.200 H 331.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2295 |
|---|---|
| RGB | rgb(158, 34, 149) |
| HSL | hsl(304, 65%, 38%) |
| HSV | hsv(304, 78%, 62%) |
| CMYK | cmyk(0%, 78.5%, 5.7%, 38%) |
| CIE-LAB | lab(38.87, 61.36, -34.68) |
| CIE-LCH | lch(38.87, 70.48, 330.53°) |
| OKLab | oklab(49.96% 0.1754 -0.0956) |
| OKLCH | oklch(49.96% 0.2 331.4) |
| XYZ | xyz(20.0974, 10.5847, 29.4125) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.98
Barney Purple
#A00498
ΔE00 2.07
Darkmagenta
#8B008B
ΔE00 5.40
Medium Purple
#9E43A2
ΔE00 5.69
Ugly Purple
#A442A0
ΔE00 5.79
Barney
#AC1DB8
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2295 #229E2B
analogous
#69229E #9E2295 #9E2257
triadic
#9E2295 #959E22 #22959E
tetradic
#9E2295 #9E6922 #229E2B #22579E
square
#9E2295 #9E6922 #229E2B #22579E
split-complementary
#9E2295 #579E22 #229E69
monochromatic
#390C36 #6C1766 #9E2295 #D02DC4 #DC5ED3
Accessibility & contrast
On white
6.74
#9E2295 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#9E2295 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2295
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2295 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2295 | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#155198
Deuteranopia (green-blind)
#4B6192
Tritanopia (blue-blind)
#A5325B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9e2295; /* rgb */ color: rgb(158, 34, 149); /* oklch */ color: oklch(50.0% 0.200 331.4);
Tailwind
colors: {
custom: {
50: '#be6cb4',
500: '#9e2295',
950: '#000000',
},
}SCSS
$custom: #9e2295; $custom-light: #be6cb4; $custom-dark: #000000;
JSON
{
"hex": "#9e2295",
"rgb": {
"r": 158,
"g": 34,
"b": 149
},
"hsl": {
"h": 304.355,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.49958,
"c": 0.19976,
"h": 331.4
},
"luminance": 0.10583
}Semantic roles & 50–950 ramp
primary
#9E2295
secondary
#5BC162
accent
#E84C40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80