#9D508C#9D508C
#9D508C is a mid, vivid pink. Relative luminance 0.148; OKLCH L 54.5% C 0.128 H 336.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #9D508C |
|---|---|
| RGB | rgb(157, 80, 140) |
| HSL | hsl(313, 32%, 46%) |
| HSV | hsv(313, 49%, 62%) |
| CMYK | cmyk(0%, 49%, 10.8%, 38.4%) |
| CIE-LAB | lab(45.36, 40.20, -19.12) |
| CIE-LCH | lch(45.36, 44.52, 334.56°) |
| OKLab | oklab(54.53% 0.1167 -0.0516) |
| OKLCH | oklch(54.53% 0.128 336.1) |
| XYZ | xyz(21.5070, 14.8003, 26.5298) |
| Luminance | 0.1480 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 1.89
Purplish
#94568C
ΔE00 2.47
Light Plum
#9D5783
ΔE00 3.80
Light Eggplant
#894585
ΔE00 5.45
Ugly Purple
#A442A0
ΔE00 5.75
Medium Purple
#9E43A2
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D508C #509D61
analogous
#88509D #9D508C #9D5066
triadic
#9D508C #8C9D50 #508C9D
tetradic
#9D508C #9D8850 #509D61 #50669D
square
#9D508C #9D8850 #509D61 #50669D
split-complementary
#9D508C #669D50 #509D88
monochromatic
#4C2744 #743B68 #9D508C #B873A8 #CC9BC1
Accessibility & contrast
On white
5.30
#9D508C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#9D508C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D508C
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D508C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D508C | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#51648E
Deuteranopia (green-blind)
#66708A
Tritanopia (blue-blind)
#A45367
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9d508c; /* rgb */ color: rgb(157, 80, 140); /* oklch */ color: oklch(54.5% 0.128 336.1);
Tailwind
colors: {
custom: {
50: '#bc84ad',
500: '#9d508c',
950: '#000000',
},
}SCSS
$custom: #9d508c; $custom-light: #bc84ad; $custom-dark: #000000;
JSON
{
"hex": "#9d508c",
"rgb": {
"r": 157,
"g": 80,
"b": 140
},
"hsl": {
"h": 313.247,
"s": 32.489,
"l": 46.471
},
"oklch": {
"l": 0.54528,
"c": 0.12755,
"h": 336.1
},
"luminance": 0.14799
}Semantic roles & 50–950 ramp
primary
#9D508C
secondary
#90B999
accent
#C9765F
background
#FBF8FA
surface
#F7EFF4
border
#D0CACE
text
#120B10
muted
#817C7F