#9E2EA5#9E2EA5
#9E2EA5 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.9% C 0.200 H 325.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2EA5 |
|---|---|
| RGB | rgb(158, 46, 165) |
| HSL | hsl(296, 56%, 41%) |
| HSV | hsv(296, 72%, 65%) |
| CMYK | cmyk(4.2%, 72.1%, 0%, 35.3%) |
| CIE-LAB | lab(41.12, 60.17, -40.75) |
| CIE-LCH | lch(41.12, 72.67, 325.89°) |
| OKLab | oklab(51.86% 0.1644 -0.1133) |
| OKLCH | oklch(51.86% 0.2 325.4) |
| XYZ | xyz(21.8686, 11.9411, 36.7430) |
| Luminance | 0.1194 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 3.41
Purply
#983FB2
ΔE00 3.78
Medium Purple
#9E43A2
ΔE00 3.90
Warm Purple
#952E8F
ΔE00 3.92
Barney Purple
#A00498
ΔE00 4.13
Ugly Purple
#A442A0
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2EA5 #35A52E
analogous
#632EA5 #9E2EA5 #A52E71
triadic
#9E2EA5 #A59E2E #2EA59E
tetradic
#9E2EA5 #A5632E #35A52E #2E71A5
square
#9E2EA5 #A5632E #35A52E #2E71A5
split-complementary
#9E2EA5 #71A52E #2EA563
monochromatic
#421345 #702175 #9E2EA5 #C345CB #D375D8
Accessibility & contrast
On white
6.20
#9E2EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#9E2EA5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2EA5
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2EA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2EA5 | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C58A8
Deuteranopia (green-blind)
#4766A2
Tritanopia (blue-blind)
#A24267
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #9e2ea5; /* rgb */ color: rgb(158, 46, 165); /* oklch */ color: oklch(51.9% 0.200 325.4);
Tailwind
colors: {
custom: {
50: '#be72c0',
500: '#9e2ea5',
950: '#000000',
},
}SCSS
$custom: #9e2ea5; $custom-light: #be72c0; $custom-dark: #000000;
JSON
{
"hex": "#9e2ea5",
"rgb": {
"r": 158,
"g": 46,
"b": 165
},
"hsl": {
"h": 296.471,
"s": 56.398,
"l": 41.373
},
"oklch": {
"l": 0.51859,
"c": 0.19969,
"h": 325.4
},
"luminance": 0.1194
}Semantic roles & 50–950 ramp
primary
#9E2EA5
secondary
#73C06F
accent
#E04851
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81