#9E2FC2#9E2FC2
#9E2FC2 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.223 H 316.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2FC2 |
|---|---|
| RGB | rgb(158, 47, 194) |
| HSL | hsl(285, 61%, 47%) |
| HSV | hsv(285, 76%, 76%) |
| CMYK | cmyk(18.6%, 75.8%, 0%, 23.9%) |
| CIE-LAB | lab(43.06, 65.16, -54.77) |
| CIE-LCH | lch(43.06, 85.12, 319.95°) |
| OKLab | oklab(53.82% 0.1611 -0.1543) |
| OKLCH | oklch(53.82% 0.223 316.2) |
| XYZ | xyz(24.8532, 13.1982, 52.2668) |
| Luminance | 0.1320 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.97
Purply
#983FB2
ΔE00 3.30
Barney
#AC1DB8
ΔE00 3.41
Vibrant Purple
#AD03DE
ΔE00 4.20
Darkviolet
#9400D3
ΔE00 5.14
Violet (survey)
#9A0EEA
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2FC2 #53C22F
analogous
#542FC2 #9E2FC2 #C22F9D
triadic
#9E2FC2 #C29E2F #2FC29E
tetradic
#9E2FC2 #C2542F #53C22F #2F9DC2
square
#9E2FC2 #C2542F #53C22F #2F9DC2
split-complementary
#9E2FC2 #9DC22F #2FC254
monochromatic
#4E175F #762391 #9E2FC2 #B758D6 #CD89E2
Accessibility & contrast
On white
5.77
#9E2FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#9E2FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2FC2
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2FC2 | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#2E69BF
Tritanopia (blue-blind)
#9C5077
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #9e2fc2; /* rgb */ color: rgb(158, 47, 194); /* oklch */ color: oklch(53.8% 0.223 316.2);
Tailwind
colors: {
custom: {
50: '#bf74d5',
500: '#9e2fc2',
950: '#000000',
},
}SCSS
$custom: #9e2fc2; $custom-light: #bf74d5; $custom-dark: #000000;
JSON
{
"hex": "#9e2fc2",
"rgb": {
"r": 158,
"g": 47,
"b": 194
},
"hsl": {
"h": 285.306,
"s": 60.996,
"l": 47.255
},
"oklch": {
"l": 0.53817,
"c": 0.2231,
"h": 316.2
},
"luminance": 0.13197
}Semantic roles & 50–950 ramp
primary
#9E2FC2
secondary
#93CC81
accent
#E4446B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83