#9C508A#9C508A
#9C508A is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.3% C 0.125 H 336.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #9C508A |
|---|---|
| RGB | rgb(156, 80, 138) |
| HSL | hsl(314, 32%, 46%) |
| HSV | hsv(314, 49%, 61%) |
| CMYK | cmyk(0%, 48.7%, 11.5%, 38.8%) |
| CIE-LAB | lab(45.14, 39.54, -18.27) |
| CIE-LCH | lch(45.14, 43.55, 335.20°) |
| OKLab | oklab(54.31% 0.115 -0.0492) |
| OKLCH | oklch(54.31% 0.125 336.8) |
| XYZ | xyz(21.1665, 14.6416, 25.7511) |
| Luminance | 0.1464 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 1.88
Purplish
#94568C
ΔE00 2.42
Light Plum
#9D5783
ΔE00 3.47
Light Eggplant
#894585
ΔE00 5.40
Ugly Purple
#A442A0
ΔE00 6.13
Dull Purple
#84597E
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C508A #509C62
analogous
#88509C #9C508A #9C5064
triadic
#9C508A #8A9C50 #508A9C
tetradic
#9C508A #9C8850 #509C62 #50649C
square
#9C508A #9C8850 #509C62 #50649C
split-complementary
#9C508A #649C50 #509C88
monochromatic
#4B2742 #743B66 #9C508A #B772A7 #CC9BC0
Accessibility & contrast
On white
5.35
#9C508A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#9C508A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C508A
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C508A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C508A | 1.00 | 5.35 | 3.93 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#51648C
Deuteranopia (green-blind)
#666F88
Tritanopia (blue-blind)
#A35367
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9c508a; /* rgb */ color: rgb(156, 80, 138); /* oklch */ color: oklch(54.3% 0.125 336.8);
Tailwind
colors: {
custom: {
50: '#bb84ac',
500: '#9c508a',
950: '#000000',
},
}SCSS
$custom: #9c508a; $custom-light: #bb84ac; $custom-dark: #000000;
JSON
{
"hex": "#9c508a",
"rgb": {
"r": 156,
"g": 80,
"b": 138
},
"hsl": {
"h": 314.211,
"s": 32.203,
"l": 46.275
},
"oklch": {
"l": 0.54308,
"c": 0.12507,
"h": 336.8
},
"luminance": 0.1464
}Semantic roles & 50–950 ramp
primary
#9C508A
secondary
#8FB899
accent
#C8785F
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F