#9F189B#9F189B
#9F189B is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.213 H 329.6°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9F189B |
|---|---|
| RGB | rgb(159, 24, 155) |
| HSL | hsl(302, 74%, 36%) |
| HSV | hsv(302, 85%, 62%) |
| CMYK | cmyk(0%, 84.9%, 2.5%, 37.6%) |
| CIE-LAB | lab(38.54, 64.98, -38.84) |
| CIE-LCH | lch(38.54, 75.70, 329.13°) |
| OKLab | oklab(49.86% 0.1835 -0.1076) |
| OKLCH | oklch(49.86% 0.213 329.6) |
| XYZ | xyz(20.5410, 10.3924, 31.9281) |
| Luminance | 0.1039 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 1.18
Warm Purple
#952E8F
ΔE00 3.12
Darkmagenta
#8B008B
ΔE00 4.97
Barney
#AC1DB8
ΔE00 5.01
Medium Purple
#9E43A2
ΔE00 6.28
Ugly Purple
#A442A0
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F189B #189F1C
analogous
#5F189F #9F189B #9F1857
triadic
#9F189B #9B9F18 #189B9F
tetradic
#9F189B #9F5F18 #189F1C #18579F
square
#9F189B #9F5F18 #189F1C #18579F
split-complementary
#9F189B #579F18 #189F5F
monochromatic
#350833 #6A1067 #9F189B #D420CF #E44DE0
Accessibility & contrast
On white
6.82
#9F189B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#9F189B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F189B
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F189B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F189B | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#466198
Tritanopia (blue-blind)
#A5305C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9f189b; /* rgb */ color: rgb(159, 24, 155); /* oklch */ color: oklch(49.9% 0.213 329.6);
Tailwind
colors: {
custom: {
50: '#c06ab9',
500: '#9f189b',
950: '#000000',
},
}SCSS
$custom: #9f189b; $custom-light: #c06ab9; $custom-dark: #000000;
JSON
{
"hex": "#9f189b",
"rgb": {
"r": 159,
"g": 24,
"b": 155
},
"hsl": {
"h": 301.778,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.49863,
"c": 0.21268,
"h": 329.6
},
"luminance": 0.10391
}Semantic roles & 50–950 ramp
primary
#9F189B
secondary
#4DC650
accent
#F03D37
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80