#9F1E9B#9F1E9B
#9F1E9B is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.208 H 329.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1E9B |
|---|---|
| RGB | rgb(159, 30, 155) |
| HSL | hsl(302, 68%, 37%) |
| HSV | hsv(302, 81%, 62%) |
| CMYK | cmyk(0%, 81.1%, 2.5%, 37.6%) |
| CIE-LAB | lab(39.02, 63.59, -38.08) |
| CIE-LCH | lch(39.02, 74.12, 329.08°) |
| OKLab | oklab(50.2% 0.1795 -0.1054) |
| OKLCH | oklch(50.2% 0.208 329.6) |
| XYZ | xyz(20.6786, 10.6677, 31.9739) |
| Luminance | 0.1067 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 1.67
Warm Purple
#952E8F
ΔE00 2.80
Barney
#AC1DB8
ΔE00 4.87
Darkmagenta
#8B008B
ΔE00 5.35
Medium Purple
#9E43A2
ΔE00 5.75
Ugly Purple
#A442A0
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1E9B #1E9F22
analogous
#621E9F #9F1E9B #9F1E5B
triadic
#9F1E9B #9B9F1E #1E9B9F
tetradic
#9F1E9B #9F621E #1E9F22 #1E5B9F
square
#9F1E9B #9F621E #1E9F22 #1E5B9F
split-complementary
#9F1E9B #5B9F1E #1E9F62
monochromatic
#380B37 #6C1469 #9F1E9B #D228CD #DF58DB
Accessibility & contrast
On white
6.70
#9F1E9B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#9F1E9B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F1E9B
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1E9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1E9B | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#476298
Tritanopia (blue-blind)
#A5335D
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9f1e9b; /* rgb */ color: rgb(159, 30, 155); /* oklch */ color: oklch(50.2% 0.208 329.6);
Tailwind
colors: {
custom: {
50: '#bf6cb9',
500: '#9f1e9b',
950: '#000000',
},
}SCSS
$custom: #9f1e9b; $custom-light: #bf6cb9; $custom-dark: #000000;
JSON
{
"hex": "#9f1e9b",
"rgb": {
"r": 159,
"g": 30,
"b": 155
},
"hsl": {
"h": 301.86,
"s": 68.254,
"l": 37.059
},
"oklch": {
"l": 0.50202,
"c": 0.20816,
"h": 329.6
},
"luminance": 0.10666
}Semantic roles & 50–950 ramp
primary
#9F1E9B
secondary
#56C359
accent
#EB423D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80