#9B387F#9B387F
#9B387F is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.4% C 0.155 H 340.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #9B387F |
|---|---|
| RGB | rgb(155, 56, 127) |
| HSL | hsl(317, 47%, 41%) |
| HSV | hsv(317, 64%, 61%) |
| CMYK | cmyk(0%, 63.9%, 18.1%, 39.2%) |
| CIE-LAB | lab(40.13, 49.18, -19.27) |
| CIE-LCH | lch(40.13, 52.82, 338.60°) |
| OKLab | oklab(50.42% 0.1461 -0.0518) |
| OKLCH | oklch(50.42% 0.155 340.5) |
| XYZ | xyz(18.7629, 11.3309, 21.2735) |
| Luminance | 0.1133 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 4.89
Warm Purple
#952E8F
ΔE00 5.24
Bruise
#7E4071
ΔE00 6.15
Ugly Purple
#A442A0
ΔE00 6.68
Red Violet
#9E0168
ΔE00 6.85
Purpleish
#98568D
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B387F #389B54
analogous
#86389B #9B387F #9B384E
triadic
#9B387F #7F9B38 #387F9B
tetradic
#9B387F #9B8638 #389B54 #384E9B
square
#9B387F #9B8638 #389B54 #384E9B
split-complementary
#9B387F #4E9B38 #389B86
monochromatic
#411835 #6E285A #9B387F #C050A0 #D07DB9
Accessibility & contrast
On white
6.43
#9B387F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#9B387F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B387F
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B387F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B387F | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E5481
Deuteranopia (green-blind)
#5C647D
Tritanopia (blue-blind)
#A43A56
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9b387f; /* rgb */ color: rgb(155, 56, 127); /* oklch */ color: oklch(50.4% 0.155 340.5);
Tailwind
colors: {
custom: {
50: '#bb75a4',
500: '#9b387f',
950: '#000000',
},
}SCSS
$custom: #9b387f; $custom-light: #bb75a4; $custom-dark: #000000;
JSON
{
"hex": "#9b387f",
"rgb": {
"r": 155,
"g": 56,
"b": 127
},
"hsl": {
"h": 316.97,
"s": 46.919,
"l": 41.373
},
"oklch": {
"l": 0.50422,
"c": 0.15504,
"h": 340.5
},
"luminance": 0.11329
}Semantic roles & 50–950 ramp
primary
#9B387F
secondary
#75B989
accent
#D77751
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12090F
muted
#817B7F