#9E2F9E#9E2F9E
#9E2F9E is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.5% C 0.193 H 327.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2F9E |
|---|---|
| RGB | rgb(158, 47, 158) |
| HSL | hsl(300, 54%, 40%) |
| HSV | hsv(300, 70%, 62%) |
| CMYK | cmyk(0%, 70.3%, 0%, 38%) |
| CIE-LAB | lab(40.85, 58.60, -36.99) |
| CIE-LCH | lch(40.85, 69.29, 327.74°) |
| OKLab | oklab(51.54% 0.1634 -0.1024) |
| OKLCH | oklch(51.54% 0.193 327.9) |
| XYZ | xyz(21.2883, 11.7723, 33.4921) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.84
Medium Purple
#9E43A2
ΔE00 3.66
Barney Purple
#A00498
ΔE00 3.76
Ugly Purple
#A442A0
ΔE00 4.05
Barney
#AC1DB8
ΔE00 4.44
Purply
#983FB2
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2F9E #2F9E2F
analogous
#662F9E #9E2F9E #9E2F66
triadic
#9E2F9E #9E9E2F #2F9E9E
tetradic
#9E2F9E #9E662F #2F9E2F #2F669E
square
#9E2F9E #9E662F #2F9E2F #2F669E
split-complementary
#9E2F9E #669E2F #2F9E66
monochromatic
#401340 #6F216F #9E2F9E #C743C7 #D572D5
Accessibility & contrast
On white
6.26
#9E2F9E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#9E2F9E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2F9E
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2F9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2F9E | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C57A1
Deuteranopia (green-blind)
#4C659B
Tritanopia (blue-blind)
#A33F63
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #9e2f9e; /* rgb */ color: rgb(158, 47, 158); /* oklch */ color: oklch(51.5% 0.193 327.9);
Tailwind
colors: {
custom: {
50: '#be72bb',
500: '#9e2f9e',
950: '#000000',
},
}SCSS
$custom: #9e2f9e; $custom-light: #be72bb; $custom-dark: #000000;
JSON
{
"hex": "#9e2f9e",
"rgb": {
"r": 158,
"g": 47,
"b": 158
},
"hsl": {
"h": 300,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.51537,
"c": 0.19284,
"h": 327.9
},
"luminance": 0.11771
}Semantic roles & 50–950 ramp
primary
#9E2F9E
secondary
#6CBD6C
accent
#DE4A4A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81