#9E2EA4#9E2EA4
#9E2EA4 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.8% C 0.199 H 325.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2EA4 |
|---|---|
| RGB | rgb(158, 46, 164) |
| HSL | hsl(297, 56%, 41%) |
| HSV | hsv(297, 72%, 64%) |
| CMYK | cmyk(3.7%, 72%, 0%, 35.7%) |
| CIE-LAB | lab(41.06, 59.99, -40.25) |
| CIE-LCH | lch(41.06, 72.24, 326.14°) |
| OKLab | oklab(51.8% 0.1644 -0.1118) |
| OKLCH | oklch(51.8% 0.199 325.8) |
| XYZ | xyz(21.7779, 11.9049, 36.2656) |
| Luminance | 0.1190 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 3.54
Warm Purple
#952E8F
ΔE00 3.76
Medium Purple
#9E43A2
ΔE00 3.86
Purply
#983FB2
ΔE00 3.91
Barney Purple
#A00498
ΔE00 4.03
Ugly Purple
#A442A0
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2EA4 #34A42E
analogous
#632EA4 #9E2EA4 #A42E6F
triadic
#9E2EA4 #A49E2E #2EA49E
tetradic
#9E2EA4 #A4632E #34A42E #2E6FA4
square
#9E2EA4 #A4632E #34A42E #2E6FA4
split-complementary
#9E2EA4 #6FA42E #2EA463
monochromatic
#421344 #702174 #9E2EA4 #C445CB #D374D8
Accessibility & contrast
On white
6.21
#9E2EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#9E2EA4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2EA4
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2EA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2EA4 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F58A7
Deuteranopia (green-blind)
#4866A1
Tritanopia (blue-blind)
#A24166
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #9e2ea4; /* rgb */ color: rgb(158, 46, 164); /* oklch */ color: oklch(51.8% 0.199 325.8);
Tailwind
colors: {
custom: {
50: '#be72bf',
500: '#9e2ea4',
950: '#000000',
},
}SCSS
$custom: #9e2ea4; $custom-light: #be72bf; $custom-dark: #000000;
JSON
{
"hex": "#9e2ea4",
"rgb": {
"r": 158,
"g": 46,
"b": 164
},
"hsl": {
"h": 296.949,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.51799,
"c": 0.19887,
"h": 325.8
},
"luminance": 0.11903
}Semantic roles & 50–950 ramp
primary
#9E2EA4
secondary
#72C06E
accent
#DF4850
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81