#8D52CD#8D52CD
#8D52CD is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.5% C 0.185 H 303.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8D52CD |
|---|---|
| RGB | rgb(141, 82, 205) |
| HSL | hsl(269, 55%, 56%) |
| HSV | hsv(269, 60%, 80%) |
| CMYK | cmyk(31.2%, 60%, 0%, 19.6%) |
| CIE-LAB | lab(47.11, 48.40, -54.73) |
| CIE-LCH | lch(47.11, 73.06, 311.49°) |
| OKLab | oklab(56.48% 0.1008 -0.155) |
| OKLCH | oklch(56.48% 0.185 303) |
| XYZ | xyz(25.0187, 16.1051, 59.5363) |
| Luminance | 0.1610 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.02
Deep Lavender
#8D5EB7
ΔE00 5.14
Lightish Purple
#A552E6
ΔE00 5.44
Amethyst
#9B5FC0
ΔE00 5.70
Darkorchid
#9932CC
ΔE00 6.17
Royal Purple
#7851A9
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D52CD #92CD52
analogous
#5255CD #8D52CD #CA52CD
triadic
#8D52CD #CD8D52 #52CD8D
tetradic
#8D52CD #CD5255 #92CD52 #52CDCA
square
#8D52CD #CD5255 #92CD52 #52CDCA
split-complementary
#8D52CD #CDCA52 #55CD52
monochromatic
#502580 #6E33AF #8D52CD #AC81DB #CCB1E8
Accessibility & contrast
On white
4.98
#8D52CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#8D52CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D52CD
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D52CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D52CD | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E6ED1
Deuteranopia (green-blind)
#316FCA
Tritanopia (blue-blind)
#816B88
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8d52cd; /* rgb */ color: rgb(141, 82, 205); /* oklch */ color: oklch(56.5% 0.185 303.0);
Tailwind
colors: {
custom: {
50: '#b285dd',
500: '#8d52cd',
950: '#000000',
},
}SCSS
$custom: #8d52cd; $custom-light: #b285dd; $custom-dark: #000000;
JSON
{
"hex": "#8d52cd",
"rgb": {
"r": 141,
"g": 82,
"b": 205
},
"hsl": {
"h": 268.78,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.56478,
"c": 0.18486,
"h": 303
},
"luminance": 0.16105
}Semantic roles & 50–950 ramp
primary
#8D52CD
secondary
#BED7A4
accent
#DE4997
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83