#9B4E8D#9B4E8D
#9B4E8D is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.0% C 0.130 H 334.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #9B4E8D |
|---|---|
| RGB | rgb(155, 78, 141) |
| HSL | hsl(311, 33%, 46%) |
| HSV | hsv(311, 50%, 61%) |
| CMYK | cmyk(0%, 49.7%, 9%, 39.2%) |
| CIE-LAB | lab(44.72, 40.79, -20.73) |
| CIE-LCH | lch(44.72, 45.76, 333.05°) |
| OKLab | oklab(54.01% 0.1176 -0.0561) |
| OKLCH | oklch(54.01% 0.13 334.5) |
| XYZ | xyz(21.0497, 14.3418, 26.8537) |
| Luminance | 0.1434 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 2.28
Purplish
#94568C
ΔE00 2.61
Light Eggplant
#894585
ΔE00 4.65
Light Plum
#9D5783
ΔE00 4.66
Ugly Purple
#A442A0
ΔE00 5.07
Medium Purple
#9E43A2
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B4E8D #4E9B5C
analogous
#824E9B #9B4E8D #9B4E66
triadic
#9B4E8D #8D9B4E #4E8D9B
tetradic
#9B4E8D #9B824E #4E9B5C #4E669B
square
#9B4E8D #9B824E #4E9B5C #4E669B
split-complementary
#9B4E8D #669B4E #4E9B82
monochromatic
#4A2543 #723A68 #9B4E8D #B76FAA #CB98C2
Accessibility & contrast
On white
5.43
#9B4E8D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#9B4E8D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B4E8D
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B4E8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B4E8D | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E638F
Deuteranopia (green-blind)
#636E8B
Tritanopia (blue-blind)
#A15267
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #9b4e8d; /* rgb */ color: rgb(155, 78, 141); /* oklch */ color: oklch(54.0% 0.130 334.5);
Tailwind
colors: {
custom: {
50: '#ba82ae',
500: '#9b4e8d',
950: '#000000',
},
}SCSS
$custom: #9b4e8d; $custom-light: #ba82ae; $custom-dark: #000000;
JSON
{
"hex": "#9b4e8d",
"rgb": {
"r": 155,
"g": 78,
"b": 141
},
"hsl": {
"h": 310.909,
"s": 33.047,
"l": 45.686
},
"oklch": {
"l": 0.54007,
"c": 0.13032,
"h": 334.5
},
"luminance": 0.1434
}Semantic roles & 50–950 ramp
primary
#9B4E8D
secondary
#8DB895
accent
#C9725F
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F