#8C52DC#8C52DC
#8C52DC is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.4% C 0.202 H 299.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #8C52DC |
|---|---|
| RGB | rgb(140, 82, 220) |
| HSL | hsl(265, 66%, 59%) |
| HSV | hsv(265, 63%, 86%) |
| CMYK | cmyk(36.4%, 62.7%, 0%, 13.7%) |
| CIE-LAB | lab(47.98, 51.89, -61.92) |
| CIE-LCH | lch(47.98, 80.78, 309.96°) |
| OKLab | oklab(57.39% 0.0987 -0.1761) |
| OKLCH | oklch(57.39% 0.202 299.3) |
| XYZ | xyz(26.7476, 16.7771, 69.5254) |
| Luminance | 0.1678 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.89
Lightish Purple
#A552E6
ΔE00 4.72
Lighter Purple
#A55AF4
ΔE00 6.20
Light Indigo
#6D5ACF
ΔE00 6.20
Slate Blue
#6A5ACD
ΔE00 6.80
Deep Lavender
#8D5EB7
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C52DC #A2DC52
analogous
#525DDC #8C52DC #D152DC
triadic
#8C52DC #DC8C52 #52DC8C
tetradic
#8C52DC #DC525D #A2DC52 #52DCD1
square
#8C52DC #DC525D #A2DC52 #52DCD1
split-complementary
#8C52DC #DCD152 #5DDC52
monochromatic
#501E95 #6C29C8 #8C52DC #AE85E6 #D0B8F1
Accessibility & contrast
On white
4.82
#8C52DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#8C52DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C52DC
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C52DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C52DC | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#1171D9
Tritanopia (blue-blind)
#7A7190
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #8c52dc; /* rgb */ color: rgb(140, 82, 220); /* oklch */ color: oklch(57.4% 0.202 299.3);
Tailwind
colors: {
custom: {
50: '#b386e8',
500: '#8c52dc',
950: '#000000',
},
}SCSS
$custom: #8c52dc; $custom-light: #b386e8; $custom-dark: #000000;
JSON
{
"hex": "#8c52dc",
"rgb": {
"r": 140,
"g": 82,
"b": 220
},
"hsl": {
"h": 265.217,
"s": 66.346,
"l": 59.216
},
"oklch": {
"l": 0.57394,
"c": 0.20189,
"h": 299.3
},
"luminance": 0.16777
}Semantic roles & 50–950 ramp
primary
#8C52DC
secondary
#C9E0AA
accent
#E93FA2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84