#9E319E#9E319E
#9E319E is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.190 H 327.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #9E319E |
|---|---|
| RGB | rgb(158, 49, 158) |
| HSL | hsl(300, 53%, 41%) |
| HSV | hsv(300, 69%, 62%) |
| CMYK | cmyk(0%, 69%, 0%, 38%) |
| CIE-LAB | lab(41.11, 57.86, -36.57) |
| CIE-LCH | lch(41.11, 68.45, 327.70°) |
| OKLab | oklab(51.73% 0.1613 -0.1012) |
| OKLCH | oklch(51.73% 0.19 327.9) |
| XYZ | xyz(21.3701, 11.9358, 33.5194) |
| Luminance | 0.1193 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.92
Medium Purple
#9E43A2
ΔE00 3.36
Ugly Purple
#A442A0
ΔE00 3.76
Barney Purple
#A00498
ΔE00 4.06
Barney
#AC1DB8
ΔE00 4.51
Purply
#983FB2
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E319E #319E31
analogous
#67319E #9E319E #9E3167
triadic
#9E319E #9E9E31 #319E9E
tetradic
#9E319E #9E6731 #319E31 #31679E
square
#9E319E #9E6731 #319E31 #31679E
split-complementary
#9E319E #679E31 #319E67
monochromatic
#411441 #6F236F #9E319E #C646C6 #D475D4
Accessibility & contrast
On white
6.20
#9E319E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#9E319E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E319E
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E319E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E319E | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2058A1
Deuteranopia (green-blind)
#4D669B
Tritanopia (blue-blind)
#A34164
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #9e319e; /* rgb */ color: rgb(158, 49, 158); /* oklch */ color: oklch(51.7% 0.190 327.9);
Tailwind
colors: {
custom: {
50: '#be73bb',
500: '#9e319e',
950: '#000000',
},
}SCSS
$custom: #9e319e; $custom-light: #be73bb; $custom-dark: #000000;
JSON
{
"hex": "#9e319e",
"rgb": {
"r": 158,
"g": 49,
"b": 158
},
"hsl": {
"h": 300,
"s": 52.657,
"l": 40.588
},
"oklch": {
"l": 0.51725,
"c": 0.19043,
"h": 327.9
},
"luminance": 0.11934
}Semantic roles & 50–950 ramp
primary
#9E319E
secondary
#6EBC6E
accent
#DC4C4C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81