#9C5099#9C5099
#9C5099 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.0% C 0.138 H 328.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #9C5099 |
|---|---|
| RGB | rgb(156, 80, 153) |
| HSL | hsl(302, 32%, 46%) |
| HSV | hsv(302, 49%, 61%) |
| CMYK | cmyk(0%, 48.7%, 1.9%, 38.8%) |
| CIE-LAB | lab(45.78, 42.22, -26.28) |
| CIE-LCH | lch(45.78, 49.73, 328.11°) |
| OKLab | oklab(55% 0.1183 -0.0719) |
| OKLCH | oklch(55% 0.138 328.7) |
| XYZ | xyz(22.3284, 15.1064, 31.8705) |
| Luminance | 0.1510 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.55
Purpleish
#98568D
ΔE00 3.58
Purplish
#94568C
ΔE00 3.76
Medium Purple
#9E43A2
ΔE00 3.84
Light Eggplant
#894585
ΔE00 5.50
Light Plum
#9D5783
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C5099 #509C53
analogous
#79509C #9C5099 #9C5073
triadic
#9C5099 #999C50 #50999C
tetradic
#9C5099 #9C7950 #509C53 #50739C
square
#9C5099 #9C7950 #509C53 #50739C
split-complementary
#9C5099 #739C50 #509C79
monochromatic
#4B274A #743B71 #9C5099 #B772B4 #CC9BCA
Accessibility & contrast
On white
5.22
#9C5099 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#9C5099 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C5099
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C5099 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C5099 | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B669B
Deuteranopia (green-blind)
#617097
Tritanopia (blue-blind)
#A1576D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9c5099; /* rgb */ color: rgb(156, 80, 153); /* oklch */ color: oklch(55.0% 0.138 328.7);
Tailwind
colors: {
custom: {
50: '#bb84b7',
500: '#9c5099',
950: '#000000',
},
}SCSS
$custom: #9c5099; $custom-light: #bb84b7; $custom-dark: #000000;
JSON
{
"hex": "#9c5099",
"rgb": {
"r": 156,
"g": 80,
"b": 153
},
"hsl": {
"h": 302.368,
"s": 32.203,
"l": 46.275
},
"oklch": {
"l": 0.54995,
"c": 0.13842,
"h": 328.7
},
"luminance": 0.15105
}Semantic roles & 50–950 ramp
primary
#9C5099
secondary
#8FB891
accent
#C8645F
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B11
muted
#817C80