#9B508A#9B508A
#9B508A is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.2% C 0.124 H 336.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #9B508A |
|---|---|
| RGB | rgb(155, 80, 138) |
| HSL | hsl(314, 32%, 46%) |
| HSV | hsv(314, 48%, 61%) |
| CMYK | cmyk(0%, 48.4%, 11%, 39.2%) |
| CIE-LAB | lab(45.00, 39.21, -18.49) |
| CIE-LCH | lch(45.00, 43.35, 334.75°) |
| OKLab | oklab(54.18% 0.1138 -0.0498) |
| OKLCH | oklch(54.18% 0.124 336.4) |
| XYZ | xyz(20.9737, 14.5422, 25.7421) |
| Luminance | 0.1454 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 1.79
Purplish
#94568C
ΔE00 2.26
Light Plum
#9D5783
ΔE00 3.59
Light Eggplant
#894585
ΔE00 5.20
Ugly Purple
#A442A0
ΔE00 6.09
Dull Purple
#84597E
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B508A #509B61
analogous
#86509B #9B508A #9B5064
triadic
#9B508A #8A9B50 #508A9B
tetradic
#9B508A #9B8650 #509B61 #50649B
square
#9B508A #9B8650 #509B61 #50649B
split-complementary
#9B508A #649B50 #509B86
monochromatic
#4A2642 #733B66 #9B508A #B672A7 #CB9AC0
Accessibility & contrast
On white
5.37
#9B508A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#9B508A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B508A
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B508A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B508A | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#51638C
Deuteranopia (green-blind)
#666F88
Tritanopia (blue-blind)
#A25367
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #9b508a; /* rgb */ color: rgb(155, 80, 138); /* oklch */ color: oklch(54.2% 0.124 336.4);
Tailwind
colors: {
custom: {
50: '#ba84ac',
500: '#9b508a',
950: '#000000',
},
}SCSS
$custom: #9b508a; $custom-light: #ba84ac; $custom-dark: #000000;
JSON
{
"hex": "#9b508a",
"rgb": {
"r": 155,
"g": 80,
"b": 138
},
"hsl": {
"h": 313.6,
"s": 31.915,
"l": 46.078
},
"oklch": {
"l": 0.54176,
"c": 0.12425,
"h": 336.4
},
"luminance": 0.14541
}Semantic roles & 50–950 ramp
primary
#9B508A
secondary
#8FB898
accent
#C87760
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F