#9E2ABC#9E2ABC
#9E2ABC is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.223 H 318.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2ABC |
|---|---|
| RGB | rgb(158, 42, 188) |
| HSL | hsl(288, 63%, 45%) |
| HSV | hsv(288, 78%, 74%) |
| CMYK | cmyk(16%, 77.7%, 0%, 26.3%) |
| CIE-LAB | lab(42.09, 65.67, -52.83) |
| CIE-LCH | lch(42.09, 84.28, 321.19°) |
| OKLab | oklab(53% 0.1662 -0.1486) |
| OKLCH | oklch(53% 0.223 318.2) |
| XYZ | xyz(24.0043, 12.5570, 48.7265) |
| Luminance | 0.1256 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 2.73
Darkorchid
#9932CC
ΔE00 3.01
Purply
#983FB2
ΔE00 3.33
Vibrant Purple
#AD03DE
ΔE00 4.83
Darkviolet
#9400D3
ΔE00 5.18
Medium Purple
#9E43A2
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2ABC #48BC2A
analogous
#552ABC #9E2ABC #BC2A91
triadic
#9E2ABC #BC9E2A #2ABC9E
tetradic
#9E2ABC #BC552A #48BC2A #2A91BC
square
#9E2ABC #BC552A #48BC2A #2A91BC
split-complementary
#9E2ABC #91BC2A #2ABC55
monochromatic
#4A1458 #741F8A #9E2ABC #BB4CD7 #CE7EE2
Accessibility & contrast
On white
5.98
#9E2ABC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#9E2ABC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2ABC
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2ABC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2ABC | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#3167B9
Tritanopia (blue-blind)
#9D4A73
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #9e2abc; /* rgb */ color: rgb(158, 42, 188); /* oklch */ color: oklch(53.0% 0.223 318.2);
Tailwind
colors: {
custom: {
50: '#bf71d1',
500: '#9e2abc',
950: '#000000',
},
}SCSS
$custom: #9e2abc; $custom-light: #bf71d1; $custom-dark: #000000;
JSON
{
"hex": "#9e2abc",
"rgb": {
"r": 158,
"g": 42,
"b": 188
},
"hsl": {
"h": 287.671,
"s": 63.478,
"l": 45.098
},
"oklch": {
"l": 0.53003,
"c": 0.22292,
"h": 318.2
},
"luminance": 0.12556
}Semantic roles & 50–950 ramp
primary
#9E2ABC
secondary
#88CB77
accent
#E74163
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82