#A052D4#A052D4
#A052D4 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 59.1% C 0.198 H 309.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A052D4 |
|---|---|
| RGB | rgb(160, 82, 212) |
| HSL | hsl(276, 60%, 58%) |
| HSV | hsv(276, 61%, 83%) |
| CMYK | cmyk(24.5%, 61.3%, 0%, 16.9%) |
| CIE-LAB | lab(49.81, 54.46, -54.28) |
| CIE-LCH | lch(49.81, 76.89, 315.09°) |
| OKLab | oklab(59.08% 0.1251 -0.153) |
| OKLCH | oklch(59.08% 0.198 309.3) |
| XYZ | xyz(29.3958, 18.2621, 64.2510) |
| Luminance | 0.1826 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.73
Amethyst
#9B5FC0
ΔE00 4.49
Lighter Purple
#A55AF4
ΔE00 5.34
Mediumorchid
#BA55D3
ΔE00 5.49
Purpley
#8756E4
ΔE00 5.68
Deep Lavender
#8D5EB7
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A052D4 #86D452
analogous
#5F52D4 #A052D4 #D452C7
triadic
#A052D4 #D4A052 #52D4A0
tetradic
#A052D4 #D45F52 #86D452 #52C7D4
square
#A052D4 #D45F52 #86D452 #52C7D4
split-complementary
#A052D4 #C7D452 #52D45F
monochromatic
#602289 #822EBA #A052D4 #BB83E0 #D6B4EC
Accessibility & contrast
On white
4.51
#A052D4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#A052D4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A052D4
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A052D4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A052D4 | 1.00 | 4.51 | 4.65 | 4.65 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1573D8
Deuteranopia (green-blind)
#4078D1
Tritanopia (blue-blind)
#996B8B
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #a052d4; /* rgb */ color: rgb(160, 82, 212); /* oklch */ color: oklch(59.1% 0.198 309.3);
Tailwind
colors: {
custom: {
50: '#c087e2',
500: '#a052d4',
950: '#000000',
},
}SCSS
$custom: #a052d4; $custom-light: #c087e2; $custom-dark: #000000;
JSON
{
"hex": "#a052d4",
"rgb": {
"r": 160,
"g": 82,
"b": 212
},
"hsl": {
"h": 276,
"s": 60.185,
"l": 57.647
},
"oklch": {
"l": 0.59079,
"c": 0.19768,
"h": 309.3
},
"luminance": 0.18262
}Semantic roles & 50–950 ramp
primary
#A052D4
secondary
#BCDBA7
accent
#E34484
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83