#9E1F91#9E1F91
#9E1F91 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.5% C 0.200 H 332.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F91 |
|---|---|
| RGB | rgb(158, 31, 145) |
| HSL | hsl(306, 67%, 37%) |
| HSV | hsv(306, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 8.2%, 38%) |
| CIE-LAB | lab(38.37, 61.57, -33.04) |
| CIE-LCH | lch(38.37, 69.87, 331.78°) |
| OKLab | oklab(49.53% 0.1777 -0.0908) |
| OKLCH | oklch(49.53% 0.2 332.9) |
| XYZ | xyz(19.7015, 10.2951, 27.7321) |
| Luminance | 0.1029 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.05
Barney Purple
#A00498
ΔE00 2.14
Darkmagenta
#8B008B
ΔE00 5.21
Ugly Purple
#A442A0
ΔE00 6.26
Medium Purple
#9E43A2
ΔE00 6.27
Barney
#AC1DB8
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F91 #1F9E2C
analogous
#6C1F9E #9E1F91 #9E1F51
triadic
#9E1F91 #919E1F #1F919E
tetradic
#9E1F91 #9E6C1F #1F9E2C #1F519E
square
#9E1F91 #9E6C1F #1F9E2C #1F519E
split-complementary
#9E1F91 #519E1F #1F9E6C
monochromatic
#380B33 #6B1562 #9E1F91 #D129C0 #DE59D1
Accessibility & contrast
On white
6.87
#9E1F91 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#9E1F91 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E1F91
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F91 | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#174F94
Deuteranopia (green-blind)
#4C618E
Tritanopia (blue-blind)
#A52E58
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #9e1f91; /* rgb */ color: rgb(158, 31, 145); /* oklch */ color: oklch(49.5% 0.200 332.9);
Tailwind
colors: {
custom: {
50: '#bf6bb1',
500: '#9e1f91',
950: '#000000',
},
}SCSS
$custom: #9e1f91; $custom-light: #bf6bb1; $custom-dark: #000000;
JSON
{
"hex": "#9e1f91",
"rgb": {
"r": 158,
"g": 31,
"b": 145
},
"hsl": {
"h": 306.142,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.49526,
"c": 0.1996,
"h": 332.9
},
"luminance": 0.10293
}Semantic roles & 50–950 ramp
primary
#9E1F91
secondary
#56C262
accent
#EA4F3E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80