#9F169D#9F169D
#9F169D is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.215 H 328.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9F169D |
|---|---|
| RGB | rgb(159, 22, 157) |
| HSL | hsl(301, 76%, 35%) |
| HSV | hsv(301, 86%, 62%) |
| CMYK | cmyk(0%, 86.2%, 1.3%, 37.6%) |
| CIE-LAB | lab(38.52, 65.69, -40.08) |
| CIE-LCH | lch(38.52, 76.96, 328.61°) |
| OKLab | oklab(49.89% 0.1845 -0.1112) |
| OKLCH | oklch(49.89% 0.215 328.9) |
| XYZ | xyz(20.6706, 10.3807, 32.8067) |
| Luminance | 0.1038 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 1.27
Warm Purple
#952E8F
ΔE00 3.43
Barney
#AC1DB8
ΔE00 4.79
Darkmagenta
#8B008B
ΔE00 4.97
Medium Purple
#9E43A2
ΔE00 6.39
Purple (survey)
#7E1E9C
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F169D #169F18
analogous
#5C169F #9F169D #9F1658
triadic
#9F169D #9D9F16 #169D9F
tetradic
#9F169D #9F5C16 #169F18 #16589F
square
#9F169D #9F5C16 #169F18 #16589F
split-complementary
#9F169D #589F16 #169F5C
monochromatic
#330733 #690F68 #9F169D #D51DD2 #E64AE4
Accessibility & contrast
On white
6.83
#9F169D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#9F169D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F169D
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F169D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F169D | 1.00 | 6.83 | 3.08 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#44619A
Tritanopia (blue-blind)
#A5305D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9f169d; /* rgb */ color: rgb(159, 22, 157); /* oklch */ color: oklch(49.9% 0.215 328.9);
Tailwind
colors: {
custom: {
50: '#c069ba',
500: '#9f169d',
950: '#000000',
},
}SCSS
$custom: #9f169d; $custom-light: #c069ba; $custom-dark: #000000;
JSON
{
"hex": "#9f169d",
"rgb": {
"r": 159,
"g": 22,
"b": 157
},
"hsl": {
"h": 300.876,
"s": 75.691,
"l": 35.49
},
"oklch": {
"l": 0.49887,
"c": 0.21544,
"h": 328.9
},
"luminance": 0.10379
}Semantic roles & 50–950 ramp
primary
#9F169D
secondary
#4AC74B
accent
#F23836
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130712
muted
#827A81