#AD52E4#AD52E4
#AD52E4 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.6% C 0.218 H 310.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #AD52E4 |
|---|---|
| RGB | rgb(173, 82, 228) |
| HSL | hsl(277, 73%, 61%) |
| HSV | hsv(277, 64%, 89%) |
| CMYK | cmyk(24.1%, 64%, 0%, 10.6%) |
| CIE-LAB | lab(52.42, 60.89, -59.09) |
| CIE-LCH | lch(52.42, 84.85, 315.86°) |
| OKLab | oklab(61.63% 0.1409 -0.1667) |
| OKLCH | oklch(61.63% 0.218 310.2) |
| XYZ | xyz(34.2518, 20.5210, 75.5403) |
| Luminance | 0.2052 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.60
Lighter Purple
#A55AF4
ΔE00 3.39
Mediumorchid
#BA55D3
ΔE00 4.28
Amethyst
#9B5FC0
ΔE00 6.33
Neon Purple
#BC13FE
ΔE00 6.44
Bright Lilac
#C95EFB
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AD52E4 #89E452
analogous
#6452E4 #AD52E4 #E452D2
triadic
#AD52E4 #E4AD52 #52E4AD
tetradic
#AD52E4 #E46452 #89E452 #52D2E4
square
#AD52E4 #E46452 #89E452 #52D2E4
split-complementary
#AD52E4 #D2E452 #52E464
monochromatic
#6F19A2 #9322D7 #AD52E4 #C687EC #DFBCF5
Accessibility & contrast
On white
4.11
#AD52E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#AD52E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AD52E4
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AD52E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AD52E4 | 1.00 | 4.11 | 5.10 | 5.10 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#3F7FE1
Tritanopia (blue-blind)
#A66F94
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #ad52e4; /* rgb */ color: rgb(173, 82, 228); /* oklch */ color: oklch(61.6% 0.218 310.2);
Tailwind
colors: {
custom: {
50: '#c988ed',
500: '#ad52e4',
950: '#000000',
},
}SCSS
$custom: #ad52e4; $custom-light: #c988ed; $custom-dark: #000000;
JSON
{
"hex": "#ad52e4",
"rgb": {
"r": 173,
"g": 82,
"b": 228
},
"hsl": {
"h": 277.397,
"s": 73,
"l": 60.784
},
"oklch": {
"l": 0.6163,
"c": 0.21827,
"h": 310.2
},
"luminance": 0.2052
}Semantic roles & 50–950 ramp
primary
#AD52E4
secondary
#C2E5AD
accent
#D5105B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84