#A052D6#A052D6
#A052D6 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 59.2% C 0.200 H 308.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A052D6 |
|---|---|
| RGB | rgb(160, 82, 214) |
| HSL | hsl(275, 62%, 58%) |
| HSV | hsv(275, 62%, 84%) |
| CMYK | cmyk(25.2%, 61.7%, 0%, 16.1%) |
| CIE-LAB | lab(49.93, 54.90, -55.23) |
| CIE-LCH | lch(49.93, 77.87, 314.83°) |
| OKLab | oklab(59.21% 0.1251 -0.1558) |
| OKLCH | oklch(59.21% 0.2 308.7) |
| XYZ | xyz(29.6497, 18.3637, 65.5879) |
| Luminance | 0.1836 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.44
Amethyst
#9B5FC0
ΔE00 4.71
Lighter Purple
#A55AF4
ΔE00 5.05
Purpley
#8756E4
ΔE00 5.48
Mediumorchid
#BA55D3
ΔE00 5.57
Deep Lavender
#8D5EB7
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A052D6 #88D652
analogous
#5E52D6 #A052D6 #D652CA
triadic
#A052D6 #D6A052 #52D6A0
tetradic
#A052D6 #D65E52 #88D652 #52CAD6
square
#A052D6 #D65E52 #88D652 #52CAD6
split-complementary
#A052D6 #CAD652 #52D65E
monochromatic
#61218C #832DBE #A052D6 #BB83E2 #D6B5ED
Accessibility & contrast
On white
4.49
#A052D6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.67
#A052D6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A052D6
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A052D6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A052D6 | 1.00 | 4.49 | 4.67 | 4.67 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F74DA
Deuteranopia (green-blind)
#3E78D3
Tritanopia (blue-blind)
#986C8D
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #a052d6; /* rgb */ color: rgb(160, 82, 214); /* oklch */ color: oklch(59.2% 0.200 308.7);
Tailwind
colors: {
custom: {
50: '#c087e3',
500: '#a052d6',
950: '#000000',
},
}SCSS
$custom: #a052d6; $custom-light: #c087e3; $custom-dark: #000000;
JSON
{
"hex": "#a052d6",
"rgb": {
"r": 160,
"g": 82,
"b": 214
},
"hsl": {
"h": 275.455,
"s": 61.682,
"l": 58.039
},
"oklch": {
"l": 0.59207,
"c": 0.1998,
"h": 308.7
},
"luminance": 0.18363
}Semantic roles & 50–950 ramp
primary
#A052D6
secondary
#BDDCA8
accent
#E54385
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C15
muted
#827D84