#9B397B#9B397B
#9B397B is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.4% C 0.151 H 342.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #9B397B |
|---|---|
| RGB | rgb(155, 57, 123) |
| HSL | hsl(320, 46%, 42%) |
| HSV | hsv(320, 63%, 61%) |
| CMYK | cmyk(0%, 63.2%, 20.6%, 39.2%) |
| CIE-LAB | lab(40.13, 48.14, -16.82) |
| CIE-LCH | lch(40.13, 50.99, 340.75°) |
| OKLab | oklab(50.36% 0.1439 -0.0449) |
| OKLCH | oklch(50.36% 0.151 342.7) |
| XYZ | xyz(18.5564, 11.3266, 19.9440) |
| Luminance | 0.1133 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 5.41
Bruise
#7E4071
ΔE00 6.03
Warm Purple
#952E8F
ΔE00 6.26
Red Violet
#9E0168
ΔE00 6.56
Purpleish
#98568D
ΔE00 7.34
Purplish
#94568C
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B397B #399B59
analogous
#8A399B #9B397B #9B394A
triadic
#9B397B #7B9B39 #397B9B
tetradic
#9B397B #9B8A39 #399B59 #394A9B
square
#9B397B #9B8A39 #399B59 #394A9B
split-complementary
#9B397B #4A9B39 #399B8A
monochromatic
#421834 #6E2957 #9B397B #BF529C #D07FB5
Accessibility & contrast
On white
6.43
#9B397B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#9B397B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B397B
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B397B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B397B | 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)
#41547D
Deuteranopia (green-blind)
#5D6479
Tritanopia (blue-blind)
#A43A55
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9b397b; /* rgb */ color: rgb(155, 57, 123); /* oklch */ color: oklch(50.4% 0.151 342.7);
Tailwind
colors: {
custom: {
50: '#bb76a1',
500: '#9b397b',
950: '#000000',
},
}SCSS
$custom: #9b397b; $custom-light: #bb76a1; $custom-dark: #000000;
JSON
{
"hex": "#9b397b",
"rgb": {
"r": 155,
"g": 57,
"b": 123
},
"hsl": {
"h": 319.592,
"s": 46.226,
"l": 41.569
},
"oklch": {
"l": 0.50361,
"c": 0.15078,
"h": 342.7
},
"luminance": 0.11325
}Semantic roles & 50–950 ramp
primary
#9B397B
secondary
#77B98C
accent
#D67D52
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12090F
muted
#817B7E