#9E2EC3#9E2EC3
#9E2EC3 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.225 H 316.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2EC3 |
|---|---|
| RGB | rgb(158, 46, 195) |
| HSL | hsl(285, 62%, 47%) |
| HSV | hsv(285, 76%, 76%) |
| CMYK | cmyk(19%, 76.4%, 0%, 23.5%) |
| CIE-LAB | lab(43.01, 65.69, -55.43) |
| CIE-LCH | lch(43.01, 85.96, 319.84°) |
| OKLab | oklab(53.8% 0.1618 -0.1563) |
| OKLCH | oklch(53.8% 0.225 316) |
| XYZ | xyz(24.9263, 13.1642, 52.8471) |
| Luminance | 0.1316 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.85
Barney
#AC1DB8
ΔE00 3.48
Purply
#983FB2
ΔE00 3.49
Vibrant Purple
#AD03DE
ΔE00 4.05
Darkviolet
#9400D3
ΔE00 4.96
Violet (survey)
#9A0EEA
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2EC3 #53C32E
analogous
#542EC3 #9E2EC3 #C32E9D
triadic
#9E2EC3 #C39E2E #2EC39E
tetradic
#9E2EC3 #C3542E #53C32E #2E9DC3
square
#9E2EC3 #C3542E #53C32E #2E9DC3
split-complementary
#9E2EC3 #9DC32E #2EC354
monochromatic
#4E1760 #762291 #9E2EC3 #B757D7 #CD88E3
Accessibility & contrast
On white
5.78
#9E2EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#9E2EC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2EC3
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2EC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2EC3 | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#2C69C0
Tritanopia (blue-blind)
#9B4F78
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #9e2ec3; /* rgb */ color: rgb(158, 46, 195); /* oklch */ color: oklch(53.8% 0.225 316.0);
Tailwind
colors: {
custom: {
50: '#bf73d6',
500: '#9e2ec3',
950: '#000000',
},
}SCSS
$custom: #9e2ec3; $custom-light: #bf73d6; $custom-dark: #000000;
JSON
{
"hex": "#9e2ec3",
"rgb": {
"r": 158,
"g": 46,
"b": 195
},
"hsl": {
"h": 285.101,
"s": 61.826,
"l": 47.255
},
"oklch": {
"l": 0.53803,
"c": 0.22496,
"h": 316
},
"luminance": 0.13163
}Semantic roles & 50–950 ramp
primary
#9E2EC3
secondary
#93CD80
accent
#E5436B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83