#9E2FC9#9E2FC9
#9E2FC9 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.3% C 0.229 H 314.3°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2FC9 |
|---|---|
| RGB | rgb(158, 47, 201) |
| HSL | hsl(283, 62%, 49%) |
| HSV | hsv(283, 77%, 79%) |
| CMYK | cmyk(21.4%, 76.6%, 0%, 21.2%) |
| CIE-LAB | lab(43.54, 66.52, -58.07) |
| CIE-LCH | lch(43.54, 88.30, 318.88°) |
| OKLab | oklab(54.3% 0.16 -0.164) |
| OKLCH | oklch(54.3% 0.229 314.3) |
| XYZ | xyz(25.6579, 13.5201, 56.5051) |
| Luminance | 0.1352 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.09
Vibrant Purple
#AD03DE
ΔE00 3.48
Purply
#983FB2
ΔE00 4.07
Barney
#AC1DB8
ΔE00 4.21
Darkviolet
#9400D3
ΔE00 4.77
Violet (survey)
#9A0EEA
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2FC9 #5AC92F
analogous
#512FC9 #9E2FC9 #C92FA7
triadic
#9E2FC9 #C99E2F #2FC99E
tetradic
#9E2FC9 #C9512F #5AC92F #2FA7C9
square
#9E2FC9 #C9512F #5AC92F #2FA7C9
split-complementary
#9E2FC9 #A7C92F #2FC951
monochromatic
#501866 #772397 #9E2FC9 #B65CD9 #CC8EE5
Accessibility & contrast
On white
5.67
#9E2FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#9E2FC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2FC9
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2FC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2FC9 | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#2369C6
Tritanopia (blue-blind)
#9A537B
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #9e2fc9; /* rgb */ color: rgb(158, 47, 201); /* oklch */ color: oklch(54.3% 0.229 314.3);
Tailwind
colors: {
custom: {
50: '#bf74da',
500: '#9e2fc9',
950: '#000000',
},
}SCSS
$custom: #9e2fc9; $custom-light: #bf74da; $custom-dark: #000000;
JSON
{
"hex": "#9e2fc9",
"rgb": {
"r": 158,
"g": 47,
"b": 201
},
"hsl": {
"h": 283.247,
"s": 62.097,
"l": 48.627
},
"oklch": {
"l": 0.54304,
"c": 0.22916,
"h": 314.3
},
"luminance": 0.13519
}Semantic roles & 50–950 ramp
primary
#9E2FC9
secondary
#9ACF85
accent
#E54370
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83