#9C52DC#9C52DC
#9C52DC is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.1% C 0.205 H 305.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9C52DC |
|---|---|
| RGB | rgb(156, 82, 220) |
| HSL | hsl(272, 66%, 59%) |
| HSV | hsv(272, 63%, 86%) |
| CMYK | cmyk(29.1%, 62.7%, 0%, 13.7%) |
| CIE-LAB | lab(49.82, 55.36, -58.85) |
| CIE-LCH | lch(49.82, 80.80, 313.25°) |
| OKLab | oklab(59.14% 0.1197 -0.1666) |
| OKLCH | oklch(59.14% 0.205 305.7) |
| XYZ | xyz(29.6431, 18.2700, 69.6611) |
| Luminance | 0.1827 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.07
Purpley
#8756E4
ΔE00 4.26
Lighter Purple
#A55AF4
ΔE00 4.46
Amethyst
#9B5FC0
ΔE00 5.59
Mediumorchid
#BA55D3
ΔE00 6.63
Electric Purple
#AA23FF
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C52DC #92DC52
analogous
#5752DC #9C52DC #DC52D7
triadic
#9C52DC #DC9C52 #52DC9C
tetradic
#9C52DC #DC5752 #92DC52 #52D7DC
square
#9C52DC #DC5752 #92DC52 #52D7DC
split-complementary
#9C52DC #D7DC52 #52DC57
monochromatic
#5E1E95 #7E29C8 #9C52DC #B985E6 #D6B8F1
Accessibility & contrast
On white
4.51
#9C52DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#9C52DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C52DC
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C52DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C52DC | 1.00 | 4.51 | 4.65 | 4.65 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#3277D9
Tritanopia (blue-blind)
#916F90
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #9c52dc; /* rgb */ color: rgb(156, 82, 220); /* oklch */ color: oklch(59.1% 0.205 305.7);
Tailwind
colors: {
custom: {
50: '#bd87e8',
500: '#9c52dc',
950: '#000000',
},
}SCSS
$custom: #9c52dc; $custom-light: #bd87e8; $custom-dark: #000000;
JSON
{
"hex": "#9c52dc",
"rgb": {
"r": 156,
"g": 82,
"b": 220
},
"hsl": {
"h": 272.174,
"s": 66.346,
"l": 59.216
},
"oklch": {
"l": 0.59139,
"c": 0.20511,
"h": 305.7
},
"luminance": 0.1827
}Semantic roles & 50–950 ramp
primary
#9C52DC
secondary
#C3E0AA
accent
#E93F8E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B16
muted
#817C84