#9B287E#9B287E
#9B287E is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.7% C 0.175 H 340.0°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #9B287E |
|---|---|
| RGB | rgb(155, 40, 126) |
| HSL | hsl(315, 59%, 38%) |
| HSV | hsv(315, 74%, 61%) |
| CMYK | cmyk(0%, 74.2%, 18.7%, 39.2%) |
| CIE-LAB | lab(37.83, 55.32, -22.21) |
| CIE-LCH | lch(37.83, 59.62, 338.13°) |
| OKLab | oklab(48.73% 0.1649 -0.06) |
| OKLCH | oklch(48.73% 0.176 340) |
| XYZ | xyz(18.0428, 9.9943, 20.7135) |
| Luminance | 0.0999 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.19
Red Violet
#9E0168
ΔE00 5.28
Barney Purple
#A00498
ΔE00 5.94
Light Eggplant
#894585
ΔE00 6.31
Bruise
#7E4071
ΔE00 7.18
Darkmagenta
#8B008B
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B287E #289B45
analogous
#7E289B #9B287E #9B2845
triadic
#9B287E #7E9B28 #287E9B
tetradic
#9B287E #9B7E28 #289B45 #28459B
square
#9B287E #9B7E28 #289B45 #28459B
split-complementary
#9B287E #459B28 #289B7E
monochromatic
#3A0F2F #6A1B56 #9B287E #CB35A5 #D766BB
Accessibility & contrast
On white
7.00
#9B287E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#9B287E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B287E
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B287E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B287E | 1.00 | 7.00 | 3.00 | 7.00 |
| #FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304D80
Deuteranopia (green-blind)
#55607B
Tritanopia (blue-blind)
#A42C50
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9b287e; /* rgb */ color: rgb(155, 40, 126); /* oklch */ color: oklch(48.7% 0.175 340.0);
Tailwind
colors: {
custom: {
50: '#bc6da3',
500: '#9b287e',
950: '#000000',
},
}SCSS
$custom: #9b287e; $custom-light: #bc6da3; $custom-dark: #000000;
JSON
{
"hex": "#9b287e",
"rgb": {
"r": 155,
"g": 40,
"b": 126
},
"hsl": {
"h": 315.13,
"s": 58.974,
"l": 38.235
},
"oklch": {
"l": 0.4873,
"c": 0.1755,
"h": 340
},
"luminance": 0.09993
}Semantic roles & 50–950 ramp
primary
#9B287E
secondary
#61BD79
accent
#E26D46
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F