#9C5B99#9C5B99
#9C5B99 is a mid, moderate purple. Relative luminance 0.169; OKLCH L 56.7% C 0.119 H 328.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9C5B99 |
|---|---|
| RGB | rgb(156, 91, 153) |
| HSL | hsl(303, 26%, 48%) |
| HSV | hsv(303, 42%, 61%) |
| CMYK | cmyk(0%, 41.7%, 1.9%, 38.8%) |
| CIE-LAB | lab(48.07, 36.31, -22.73) |
| CIE-LCH | lch(48.07, 42.84, 327.96°) |
| OKLab | oklab(56.7% 0.1016 -0.0619) |
| OKLCH | oklch(56.7% 0.119 328.7) |
| XYZ | xyz(23.2008, 16.8511, 32.1613) |
| Luminance | 0.1685 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpleish
#98568D
ΔE00 2.79
Purplish
#94568C
ΔE00 3.10
Light Plum
#9D5783
ΔE00 5.64
Dark Lilac
#9C6DA5
ΔE00 5.74
Ugly Purple
#A442A0
ΔE00 6.49
Muted Purple
#805B87
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C5B99 #5B9C5E
analogous
#7E5B9C #9C5B99 #9C5B78
triadic
#9C5B99 #999C5B #5B999C
tetradic
#9C5B99 #9C7E5B #5B9C5E #5B789C
square
#9C5B99 #9C7E5B #5B9C5E #5B789C
split-complementary
#9C5B99 #789C5B #5B9C7E
monochromatic
#4F2E4D #754473 #9C5B99 #B580B2 #CBA6C9
Accessibility & contrast
On white
4.81
#9C5B99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#9C5B99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C5B99
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C5B99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C5B99 | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#576D9B
Deuteranopia (green-blind)
#687597
Tritanopia (blue-blind)
#A06173
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9c5b99; /* rgb */ color: rgb(156, 91, 153); /* oklch */ color: oklch(56.7% 0.119 328.7);
Tailwind
colors: {
custom: {
50: '#ba8bb7',
500: '#9c5b99',
950: '#000000',
},
}SCSS
$custom: #9c5b99; $custom-light: #ba8bb7; $custom-dark: #000000;
JSON
{
"hex": "#9c5b99",
"rgb": {
"r": 156,
"g": 91,
"b": 153
},
"hsl": {
"h": 302.769,
"s": 26.316,
"l": 48.431
},
"oklch": {
"l": 0.56704,
"c": 0.11894,
"h": 328.7
},
"luminance": 0.1685
}Semantic roles & 50–950 ramp
primary
#9C5B99
secondary
#9AB99B
accent
#C36965
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#120C11
muted
#817D80