#8D52D2#8D52D2
#8D52D2 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.8% C 0.191 H 301.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8D52D2 |
|---|---|
| RGB | rgb(141, 82, 210) |
| HSL | hsl(268, 59%, 57%) |
| HSV | hsv(268, 61%, 82%) |
| CMYK | cmyk(32.9%, 61%, 0%, 17.6%) |
| CIE-LAB | lab(47.43, 49.63, -57.09) |
| CIE-LCH | lch(47.43, 75.64, 311.00°) |
| OKLab | oklab(56.81% 0.1006 -0.1619) |
| OKLCH | oklch(56.81% 0.191 301.9) |
| XYZ | xyz(25.6319, 16.3504, 62.7658) |
| Luminance | 0.1635 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.28
Lightish Purple
#A552E6
ΔE00 5.05
Deep Lavender
#8D5EB7
ΔE00 5.73
Amethyst
#9B5FC0
ΔE00 6.11
Darkorchid
#9932CC
ΔE00 6.36
Light Indigo
#6D5ACF
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D52D2 #97D252
analogous
#5257D2 #8D52D2 #CD52D2
triadic
#8D52D2 #D28D52 #52D28D
tetradic
#8D52D2 #D25257 #97D252 #52D2CD
square
#8D52D2 #D25257 #97D252 #52D2CD
split-complementary
#8D52D2 #D2CD52 #57D252
monochromatic
#512387 #6E30B7 #8D52D2 #AD83DF #CDB3EB
Accessibility & contrast
On white
4.92
#8D52D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#8D52D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D52D2
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D52D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D52D2 | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#2A70CF
Tritanopia (blue-blind)
#7F6D8A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8d52d2; /* rgb */ color: rgb(141, 82, 210); /* oklch */ color: oklch(56.8% 0.191 301.9);
Tailwind
colors: {
custom: {
50: '#b385e0',
500: '#8d52d2',
950: '#000000',
},
}SCSS
$custom: #8d52d2; $custom-light: #b385e0; $custom-dark: #000000;
JSON
{
"hex": "#8d52d2",
"rgb": {
"r": 141,
"g": 82,
"b": 210
},
"hsl": {
"h": 267.656,
"s": 58.716,
"l": 57.255
},
"oklch": {
"l": 0.56812,
"c": 0.19061,
"h": 301.9
},
"luminance": 0.1635
}Semantic roles & 50–950 ramp
primary
#8D52D2
secondary
#C2DAA6
accent
#E2469A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83