#9D489C#9D489C
#9D489C is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.1% C 0.155 H 327.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #9D489C |
|---|---|
| RGB | rgb(157, 72, 156) |
| HSL | hsl(301, 37%, 45%) |
| HSV | hsv(301, 54%, 62%) |
| CMYK | cmyk(0%, 54.1%, 0.6%, 38.4%) |
| CIE-LAB | lab(44.52, 47.14, -30.01) |
| CIE-LCH | lch(44.52, 55.89, 327.52°) |
| OKLab | oklab(54.14% 0.1315 -0.0825) |
| OKLCH | oklch(54.14% 0.155 327.9) |
| XYZ | xyz(22.2224, 14.2044, 33.0173) |
| Luminance | 0.1420 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 1.68
Medium Purple
#9E43A2
ΔE00 1.74
Light Eggplant
#894585
ΔE00 5.31
Purply
#983FB2
ΔE00 5.49
Purpleish
#98568D
ΔE00 5.53
Purplish
#94568C
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D489C #489D49
analogous
#74489D #9D489C #9D4871
triadic
#9D489C #9C9D48 #489C9D
tetradic
#9D489C #9D7448 #489D49 #48719D
square
#9D489C #9D7448 #489D49 #48719D
split-complementary
#9D489C #719D48 #489D74
monochromatic
#492249 #733572 #9D489C #BA68B9 #CD92CC
Accessibility & contrast
On white
5.47
#9D489C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#9D489C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D489C
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D489C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D489C | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40629F
Deuteranopia (green-blind)
#5B6D9A
Tritanopia (blue-blind)
#A2516B
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #9d489c; /* rgb */ color: rgb(157, 72, 156); /* oklch */ color: oklch(54.1% 0.155 327.9);
Tailwind
colors: {
custom: {
50: '#bc7fb9',
500: '#9d489c',
950: '#000000',
},
}SCSS
$custom: #9d489c; $custom-light: #bc7fb9; $custom-dark: #000000;
JSON
{
"hex": "#9d489c",
"rgb": {
"r": 157,
"g": 72,
"b": 156
},
"hsl": {
"h": 300.706,
"s": 37.118,
"l": 44.902
},
"oklch": {
"l": 0.54143,
"c": 0.1552,
"h": 327.9
},
"luminance": 0.14203
}Semantic roles & 50–950 ramp
primary
#9D489C
secondary
#88B988
accent
#CD5C5B
background
#FBF8FB
surface
#F7EFF6
border
#D0CAD0
text
#120A11
muted
#817C80