#8D52C2#8D52C2
#8D52C2 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.8% C 0.172 H 305.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8D52C2 |
|---|---|
| RGB | rgb(141, 82, 194) |
| HSL | hsl(272, 48%, 54%) |
| HSV | hsv(272, 58%, 76%) |
| CMYK | cmyk(27.3%, 57.7%, 0%, 23.9%) |
| CIE-LAB | lab(46.44, 45.75, -49.47) |
| CIE-LCH | lch(46.44, 67.38, 312.77°) |
| OKLab | oklab(55.77% 0.1009 -0.1395) |
| OKLCH | oklch(55.77% 0.172 305.9) |
| XYZ | xyz(23.7373, 15.5925, 52.7876) |
| Luminance | 0.1559 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.00
Amethyst
#9B5FC0
ΔE00 5.02
Royal Purple
#7851A9
ΔE00 5.37
Purply
#983FB2
ΔE00 5.59
Purpley
#8756E4
ΔE00 5.77
Darkorchid
#9932CC
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D52C2 #87C252
analogous
#5552C2 #8D52C2 #C252BF
triadic
#8D52C2 #C28D52 #52C28D
tetradic
#8D52C2 #C25552 #87C252 #52BFC2
square
#8D52C2 #C25552 #87C252 #52BFC2
split-complementary
#8D52C2 #BFC252 #52C255
monochromatic
#4F2872 #6E389F #8D52C2 #AB7FD2 #C9ACE2
Accessibility & contrast
On white
5.10
#8D52C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#8D52C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D52C2
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D52C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D52C2 | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#256CC6
Deuteranopia (green-blind)
#3E6EBF
Tritanopia (blue-blind)
#846882
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8d52c2; /* rgb */ color: rgb(141, 82, 194); /* oklch */ color: oklch(55.8% 0.172 305.9);
Tailwind
colors: {
custom: {
50: '#b285d5',
500: '#8d52c2',
950: '#000000',
},
}SCSS
$custom: #8d52c2; $custom-light: #b285d5; $custom-dark: #000000;
JSON
{
"hex": "#8d52c2",
"rgb": {
"r": 141,
"g": 82,
"b": 194
},
"hsl": {
"h": 271.607,
"s": 47.863,
"l": 54.118
},
"oklch": {
"l": 0.55767,
"c": 0.17216,
"h": 305.9
},
"luminance": 0.15592
}Semantic roles & 50–950 ramp
primary
#8D52C2
secondary
#B7D0A0
accent
#D75090
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83