#8D52C8#8D52C8
#8D52C8 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.2% C 0.179 H 304.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8D52C8 |
|---|---|
| RGB | rgb(141, 82, 200) |
| HSL | hsl(270, 52%, 55%) |
| HSV | hsv(270, 59%, 78%) |
| CMYK | cmyk(29.5%, 59%, 0%, 21.6%) |
| CIE-LAB | lab(46.80, 47.19, -52.35) |
| CIE-LCH | lch(46.80, 70.48, 312.03°) |
| OKLab | oklab(56.15% 0.1009 -0.148) |
| OKLCH | oklch(56.15% 0.179 304.3) |
| XYZ | xyz(24.4248, 15.8675, 56.4084) |
| Luminance | 0.1587 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.59
Purpley
#8756E4
ΔE00 4.79
Amethyst
#9B5FC0
ΔE00 5.34
Lightish Purple
#A552E6
ΔE00 5.91
Royal Purple
#7851A9
ΔE00 6.02
Darkorchid
#9932CC
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D52C8 #8DC852
analogous
#5252C8 #8D52C8 #C852C8
triadic
#8D52C8 #C88D52 #52C88D
tetradic
#8D52C8 #C85252 #8DC852 #52C8C8
square
#8D52C8 #C85252 #8DC852 #52C8C8
split-complementary
#8D52C8 #C8C852 #52C852
monochromatic
#502779 #6E35A8 #8D52C8 #AC80D7 #CAAFE6
Accessibility & contrast
On white
5.03
#8D52C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#8D52C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D52C8
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D52C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D52C8 | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B6DCC
Deuteranopia (green-blind)
#376FC5
Tritanopia (blue-blind)
#826A85
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #8d52c8; /* rgb */ color: rgb(141, 82, 200); /* oklch */ color: oklch(56.2% 0.179 304.3);
Tailwind
colors: {
custom: {
50: '#b285d9',
500: '#8d52c8',
950: '#000000',
},
}SCSS
$custom: #8d52c8; $custom-light: #b285d9; $custom-dark: #000000;
JSON
{
"hex": "#8d52c8",
"rgb": {
"r": 141,
"g": 82,
"b": 200
},
"hsl": {
"h": 270,
"s": 51.754,
"l": 55.294
},
"oklch": {
"l": 0.56151,
"c": 0.1791,
"h": 304.3
},
"luminance": 0.15867
}Semantic roles & 50–950 ramp
primary
#8D52C8
secondary
#BBD4A2
accent
#DB4D94
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83