#9B397F#9B397F
#9B397F is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.5% C 0.154 H 340.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #9B397F |
|---|---|
| RGB | rgb(155, 57, 127) |
| HSL | hsl(317, 46%, 42%) |
| HSV | hsv(317, 63%, 61%) |
| CMYK | cmyk(0%, 63.2%, 18.1%, 39.2%) |
| CIE-LAB | lab(40.29, 48.74, -19.02) |
| CIE-LCH | lch(40.29, 52.32, 338.68°) |
| OKLab | oklab(50.54% 0.1448 -0.0511) |
| OKLCH | oklch(50.54% 0.154 340.6) |
| XYZ | xyz(18.8119, 11.4288, 21.2898) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 4.84
Warm Purple
#952E8F
ΔE00 5.38
Bruise
#7E4071
ΔE00 6.12
Ugly Purple
#A442A0
ΔE00 6.66
Red Violet
#9E0168
ΔE00 6.98
Purpleish
#98568D
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B397F #399B55
analogous
#86399B #9B397F #9B394E
triadic
#9B397F #7F9B39 #397F9B
tetradic
#9B397F #9B8639 #399B55 #394E9B
square
#9B397F #9B8639 #399B55 #394E9B
split-complementary
#9B397F #4E9B39 #399B86
monochromatic
#421836 #6E295A #9B397F #BF52A0 #D07FB9
Accessibility & contrast
On white
6.39
#9B397F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#9B397F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B397F
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B397F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B397F | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F5581
Deuteranopia (green-blind)
#5C657D
Tritanopia (blue-blind)
#A43B57
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9b397f; /* rgb */ color: rgb(155, 57, 127); /* oklch */ color: oklch(50.5% 0.154 340.6);
Tailwind
colors: {
custom: {
50: '#bb76a4',
500: '#9b397f',
950: '#000000',
},
}SCSS
$custom: #9b397f; $custom-light: #bb76a4; $custom-dark: #000000;
JSON
{
"hex": "#9b397f",
"rgb": {
"r": 155,
"g": 57,
"b": 127
},
"hsl": {
"h": 317.143,
"s": 46.226,
"l": 41.569
},
"oklch": {
"l": 0.5054,
"c": 0.15356,
"h": 340.6
},
"luminance": 0.11427
}Semantic roles & 50–950 ramp
primary
#9B397F
secondary
#77B98A
accent
#D67852
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12090F
muted
#817B7F