#AD52ED#AD52ED
#AD52ED is a light, highly saturated violet. Relative luminance 0.210; OKLCH L 62.2% C 0.227 H 308.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #AD52ED |
|---|---|
| RGB | rgb(173, 82, 237) |
| HSL | hsl(275, 81%, 63%) |
| HSV | hsv(275, 65%, 93%) |
| CMYK | cmyk(27%, 65.4%, 0%, 7.1%) |
| CIE-LAB | lab(52.99, 62.84, -63.24) |
| CIE-LCH | lch(52.99, 89.15, 314.82°) |
| OKLab | oklab(62.22% 0.1402 -0.1789) |
| OKLCH | oklch(62.22% 0.227 308.1) |
| XYZ | xyz(35.5338, 21.0338, 82.2923) |
| Luminance | 0.2103 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.66
Lighter Purple
#A55AF4
ΔE00 2.37
Mediumorchid
#BA55D3
ΔE00 5.29
Neon Purple
#BC13FE
ΔE00 6.21
Bright Lilac
#C95EFB
ΔE00 6.23
Bright Lavender
#C760FF
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AD52ED #92ED52
analogous
#6052ED #AD52ED #ED52DF
triadic
#AD52ED #EDAD52 #52EDAD
tetradic
#AD52ED #ED6052 #92ED52 #52DFED
square
#AD52ED #ED6052 #92ED52 #52DFED
split-complementary
#AD52ED #DFED52 #52ED60
monochromatic
#7013B2 #931BE7 #AD52ED #C789F3 #E2C1F9
Accessibility & contrast
On white
4.03
#AD52ED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#AD52ED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AD52ED
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AD52ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AD52ED | 1.00 | 4.03 | 5.21 | 5.21 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#337FEA
Tritanopia (blue-blind)
#A37399
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #ad52ed; /* rgb */ color: rgb(173, 82, 237); /* oklch */ color: oklch(62.2% 0.227 308.1);
Tailwind
colors: {
custom: {
50: '#ca88f4',
500: '#ad52ed',
950: '#000000',
},
}SCSS
$custom: #ad52ed; $custom-light: #ca88f4; $custom-dark: #000000;
JSON
{
"hex": "#ad52ed",
"rgb": {
"r": 173,
"g": 82,
"b": 237
},
"hsl": {
"h": 275.226,
"s": 81.152,
"l": 62.549
},
"oklch": {
"l": 0.62217,
"c": 0.22733,
"h": 308.1
},
"luminance": 0.21033
}Semantic roles & 50–950 ramp
primary
#AD52ED
secondary
#C8EAB1
accent
#DE0860
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85