#9E2FC3#9E2FC3
#9E2FC3 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.9% C 0.224 H 315.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2FC3 |
|---|---|
| RGB | rgb(158, 47, 195) |
| HSL | hsl(285, 61%, 47%) |
| HSV | hsv(285, 76%, 76%) |
| CMYK | cmyk(19%, 75.9%, 0%, 23.5%) |
| CIE-LAB | lab(43.13, 65.35, -55.24) |
| CIE-LCH | lch(43.13, 85.57, 319.79°) |
| OKLab | oklab(53.89% 0.161 -0.1557) |
| OKLCH | oklch(53.89% 0.224 315.9) |
| XYZ | xyz(24.9658, 13.2433, 52.8603) |
| Luminance | 0.1324 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.83
Purply
#983FB2
ΔE00 3.41
Barney
#AC1DB8
ΔE00 3.52
Vibrant Purple
#AD03DE
ΔE00 4.08
Darkviolet
#9400D3
ΔE00 5.07
Violet (survey)
#9A0EEA
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2FC3 #54C32F
analogous
#542FC3 #9E2FC3 #C32F9E
triadic
#9E2FC3 #C39E2F #2FC39E
tetradic
#9E2FC3 #C3542F #54C32F #2F9EC3
square
#9E2FC3 #C3542F #54C32F #2F9EC3
split-complementary
#9E2FC3 #9EC32F #2FC354
monochromatic
#4E1760 #762392 #9E2FC3 #B758D7 #CC8AE3
Accessibility & contrast
On white
5.76
#9E2FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#9E2FC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2FC3
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2FC3 | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#2C69C0
Tritanopia (blue-blind)
#9B5078
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #9e2fc3; /* rgb */ color: rgb(158, 47, 195); /* oklch */ color: oklch(53.9% 0.224 315.9);
Tailwind
colors: {
custom: {
50: '#bf74d6',
500: '#9e2fc3',
950: '#000000',
},
}SCSS
$custom: #9e2fc3; $custom-light: #bf74d6; $custom-dark: #000000;
JSON
{
"hex": "#9e2fc3",
"rgb": {
"r": 158,
"g": 47,
"b": 195
},
"hsl": {
"h": 285,
"s": 61.157,
"l": 47.451
},
"oklch": {
"l": 0.53886,
"c": 0.22396,
"h": 315.9
},
"luminance": 0.13242
}Semantic roles & 50–950 ramp
primary
#9E2FC3
secondary
#94CD81
accent
#E4446C
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83