#9E2AAF#9E2AAF
#9E2AAF is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.212 H 322.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2AAF |
|---|---|
| RGB | rgb(158, 42, 175) |
| HSL | hsl(292, 61%, 43%) |
| HSV | hsv(292, 76%, 69%) |
| CMYK | cmyk(9.7%, 76%, 0%, 31.4%) |
| CIE-LAB | lab(41.25, 63.29, -46.51) |
| CIE-LCH | lch(41.25, 78.54, 323.69°) |
| OKLab | oklab(52.14% 0.1676 -0.1301) |
| OKLCH | oklch(52.14% 0.212 322.2) |
| XYZ | xyz(22.6656, 12.0215, 41.6757) |
| Luminance | 0.1202 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 2.44
Purply
#983FB2
ΔE00 3.29
Barney Purple
#A00498
ΔE00 4.96
Darkorchid
#9932CC
ΔE00 5.06
Medium Purple
#9E43A2
ΔE00 5.07
Warm Purple
#952E8F
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2AAF #3BAF2A
analogous
#5C2AAF #9E2AAF #AF2A7D
triadic
#9E2AAF #AF9E2A #2AAF9E
tetradic
#9E2AAF #AF5C2A #3BAF2A #2A7DAF
square
#9E2AAF #AF5C2A #3BAF2A #2A7DAF
split-complementary
#9E2AAF #7DAF2A #2AAF5C
monochromatic
#45124C #711E7E #9E2AAF #C044D2 #D175DE
Accessibility & contrast
On white
6.17
#9E2AAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#9E2AAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2AAF
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2AAF | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#3E66AC
Tritanopia (blue-blind)
#A0446B
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #9e2aaf; /* rgb */ color: rgb(158, 42, 175); /* oklch */ color: oklch(52.1% 0.212 322.2);
Tailwind
colors: {
custom: {
50: '#bf71c7',
500: '#9e2aaf',
950: '#000000',
},
}SCSS
$custom: #9e2aaf; $custom-light: #bf71c7; $custom-dark: #000000;
JSON
{
"hex": "#9e2aaf",
"rgb": {
"r": 158,
"g": 42,
"b": 175
},
"hsl": {
"h": 292.331,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.52143,
"c": 0.21217,
"h": 322.2
},
"luminance": 0.1202
}Semantic roles & 50–950 ramp
primary
#9E2AAF
secondary
#7AC66F
accent
#E44358
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82