#9E1F9E#9E1F9E
#9E1F9E is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.3% C 0.209 H 328.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F9E |
|---|---|
| RGB | rgb(158, 31, 158) |
| HSL | hsl(300, 67%, 37%) |
| HSV | hsv(300, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 0%, 38%) |
| CIE-LAB | lab(39.10, 63.61, -39.76) |
| CIE-LCH | lch(39.10, 75.02, 327.99°) |
| OKLab | oklab(50.29% 0.1776 -0.1103) |
| OKLCH | oklch(50.29% 0.209 328.1) |
| XYZ | xyz(20.7619, 10.7193, 33.3166) |
| Luminance | 0.1072 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 1.96
Warm Purple
#952E8F
ΔE00 3.13
Barney
#AC1DB8
ΔE00 4.46
Darkmagenta
#8B008B
ΔE00 5.42
Medium Purple
#9E43A2
ΔE00 5.68
Purply
#983FB2
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F9E #1F9E1F
analogous
#5F1F9E #9E1F9E #9E1F5F
triadic
#9E1F9E #9E9E1F #1F9E9E
tetradic
#9E1F9E #9E5F1F #1F9E1F #1F5F9E
square
#9E1F9E #9E5F1F #1F9E1F #1F5F9E
split-complementary
#9E1F9E #5F9E1F #1F9E5F
monochromatic
#380B38 #6B156B #9E1F9E #D129D1 #DE59DE
Accessibility & contrast
On white
6.68
#9E1F9E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#9E1F9E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E1F9E
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F9E | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#45629B
Tritanopia (blue-blind)
#A3365F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9e1f9e; /* rgb */ color: rgb(158, 31, 158); /* oklch */ color: oklch(50.3% 0.209 328.1);
Tailwind
colors: {
custom: {
50: '#bf6cbb',
500: '#9e1f9e',
950: '#000000',
},
}SCSS
$custom: #9e1f9e; $custom-light: #bf6cbb; $custom-dark: #000000;
JSON
{
"hex": "#9e1f9e",
"rgb": {
"r": 158,
"g": 31,
"b": 158
},
"hsl": {
"h": 300,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.50288,
"c": 0.20909,
"h": 328.1
},
"luminance": 0.10718
}Semantic roles & 50–950 ramp
primary
#9E1F9E
secondary
#56C256
accent
#EA3E3E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81