#9C52A2#9C52A2
#9C52A2 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 55.7% C 0.144 H 324.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9C52A2 |
|---|---|
| RGB | rgb(156, 82, 162) |
| HSL | hsl(296, 33%, 48%) |
| HSV | hsv(296, 49%, 64%) |
| CMYK | cmyk(3.7%, 49.4%, 0%, 36.5%) |
| CIE-LAB | lab(46.59, 42.89, -30.35) |
| CIE-LCH | lch(46.59, 52.55, 324.71°) |
| OKLab | oklab(55.74% 0.1169 -0.0835) |
| OKLCH | oklch(55.74% 0.144 324.5) |
| XYZ | xyz(23.2486, 15.7123, 35.9836) |
| Luminance | 0.1571 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.51
Ugly Purple
#A442A0
ΔE00 3.66
Purpleish
#98568D
ΔE00 5.16
Purplish
#94568C
ΔE00 5.25
Purply
#983FB2
ΔE00 6.11
Amethyst
#9B5FC0
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C52A2 #58A252
analogous
#7452A2 #9C52A2 #A25280
triadic
#9C52A2 #A29C52 #52A29C
tetradic
#9C52A2 #A27452 #58A252 #5280A2
square
#9C52A2 #A27452 #58A252 #5280A2
split-complementary
#9C52A2 #80A252 #52A274
monochromatic
#4E2951 #753D79 #9C52A2 #B577BA #CBA0CF
Accessibility & contrast
On white
5.07
#9C52A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#9C52A2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C52A2
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C52A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C52A2 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4869A5
Deuteranopia (green-blind)
#5E72A0
Tritanopia (blue-blind)
#9F5B72
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9c52a2; /* rgb */ color: rgb(156, 82, 162); /* oklch */ color: oklch(55.7% 0.144 324.5);
Tailwind
colors: {
custom: {
50: '#bb85be',
500: '#9c52a2',
950: '#000000',
},
}SCSS
$custom: #9c52a2; $custom-light: #bb85be; $custom-dark: #000000;
JSON
{
"hex": "#9c52a2",
"rgb": {
"r": 156,
"g": 82,
"b": 162
},
"hsl": {
"h": 295.5,
"s": 32.787,
"l": 47.843
},
"oklch": {
"l": 0.55735,
"c": 0.14371,
"h": 324.5
},
"luminance": 0.15711
}Semantic roles & 50–950 ramp
primary
#9C52A2
secondary
#97BC94
accent
#C95F67
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B12
muted
#817C81