#9E2EA3#9E2EA3
#9E2EA3 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.198 H 326.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2EA3 |
|---|---|
| RGB | rgb(158, 46, 163) |
| HSL | hsl(297, 56%, 41%) |
| HSV | hsv(297, 72%, 64%) |
| CMYK | cmyk(3.1%, 71.8%, 0%, 36.1%) |
| CIE-LAB | lab(41.01, 59.82, -39.74) |
| CIE-LCH | lch(41.01, 71.82, 326.40°) |
| OKLab | oklab(51.74% 0.1645 -0.1104) |
| OKLCH | oklch(51.74% 0.198 326.1) |
| XYZ | xyz(21.6880, 11.8689, 35.7918) |
| Luminance | 0.1187 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.59
Barney
#AC1DB8
ΔE00 3.67
Medium Purple
#9E43A2
ΔE00 3.83
Barney Purple
#A00498
ΔE00 3.95
Purply
#983FB2
ΔE00 4.04
Ugly Purple
#A442A0
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2EA3 #33A32E
analogous
#632EA3 #9E2EA3 #A32E6D
triadic
#9E2EA3 #A39E2E #2EA39E
tetradic
#9E2EA3 #A3632E #33A32E #2E6DA3
square
#9E2EA3 #A3632E #33A32E #2E6DA3
split-complementary
#9E2EA3 #6DA32E #2EA363
monochromatic
#411344 #702173 #9E2EA3 #C444CA #D374D8
Accessibility & contrast
On white
6.23
#9E2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#9E2EA3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2EA3
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2EA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2EA3 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1158A6
Deuteranopia (green-blind)
#4866A0
Tritanopia (blue-blind)
#A24166
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #9e2ea3; /* rgb */ color: rgb(158, 46, 163); /* oklch */ color: oklch(51.7% 0.198 326.1);
Tailwind
colors: {
custom: {
50: '#be72bf',
500: '#9e2ea3',
950: '#000000',
},
}SCSS
$custom: #9e2ea3; $custom-light: #be72bf; $custom-dark: #000000;
JSON
{
"hex": "#9e2ea3",
"rgb": {
"r": 158,
"g": 46,
"b": 163
},
"hsl": {
"h": 297.436,
"s": 55.981,
"l": 40.98
},
"oklch": {
"l": 0.51739,
"c": 0.19806,
"h": 326.1
},
"luminance": 0.11867
}Semantic roles & 50–950 ramp
primary
#9E2EA3
secondary
#71BF6D
accent
#DF494F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81