#9C52AE#9C52AE
#9C52AE is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.4% C 0.156 H 319.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9C52AE |
|---|---|
| RGB | rgb(156, 82, 174) |
| HSL | hsl(288, 36%, 50%) |
| HSV | hsv(288, 53%, 68%) |
| CMYK | cmyk(10.3%, 52.9%, 0%, 31.8%) |
| CIE-LAB | lab(47.18, 45.29, -36.50) |
| CIE-LCH | lch(47.18, 58.17, 321.13°) |
| OKLab | oklab(56.36% 0.1186 -0.1013) |
| OKLCH | oklch(56.36% 0.156 319.5) |
| XYZ | xyz(24.3666, 16.1595, 41.8718) |
| Luminance | 0.1616 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 4.01
Ugly Purple
#A442A0
ΔE00 4.64
Amethyst
#9B5FC0
ΔE00 4.76
Purply
#983FB2
ΔE00 4.79
Deep Lavender
#8D5EB7
ΔE00 5.07
Purpleish
#98568D
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C52AE #64AE52
analogous
#6E52AE #9C52AE #AE5292
triadic
#9C52AE #AE9C52 #52AE9C
tetradic
#9C52AE #AE6E52 #64AE52 #5292AE
square
#9C52AE #AE6E52 #64AE52 #5292AE
split-complementary
#9C52AE #92AE52 #52AE6E
monochromatic
#522B5B #773E85 #9C52AE #B47CC2 #CCA5D5
Accessibility & contrast
On white
4.96
#9C52AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#9C52AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C52AE
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C52AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C52AE | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#416BB1
Deuteranopia (green-blind)
#5873AB
Tritanopia (blue-blind)
#9D5F78
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #9c52ae; /* rgb */ color: rgb(156, 82, 174); /* oklch */ color: oklch(56.4% 0.156 319.5);
Tailwind
colors: {
custom: {
50: '#bb86c6',
500: '#9c52ae',
950: '#000000',
},
}SCSS
$custom: #9c52ae; $custom-light: #bb86c6; $custom-dark: #000000;
JSON
{
"hex": "#9c52ae",
"rgb": {
"r": 156,
"g": 82,
"b": 174
},
"hsl": {
"h": 288.261,
"s": 36.22,
"l": 50.196
},
"oklch": {
"l": 0.56362,
"c": 0.15594,
"h": 319.5
},
"luminance": 0.16158
}Semantic roles & 50–950 ramp
primary
#9C52AE
secondary
#A1C299
accent
#CC5C72
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82