#A452DC#A452DC
#A452DC is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.1% C 0.207 H 308.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #A452DC |
|---|---|
| RGB | rgb(164, 82, 220) |
| HSL | hsl(276, 66%, 59%) |
| HSV | hsv(276, 63%, 86%) |
| CMYK | cmyk(25.5%, 62.7%, 0%, 13.7%) |
| CIE-LAB | lab(50.80, 57.15, -57.23) |
| CIE-LCH | lch(50.80, 80.88, 314.96°) |
| OKLab | oklab(60.06% 0.1299 -0.1616) |
| OKLCH | oklch(60.06% 0.207 308.8) |
| XYZ | xyz(31.2428, 19.0949, 69.7361) |
| Luminance | 0.1909 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.48
Lighter Purple
#A55AF4
ΔE00 4.16
Mediumorchid
#BA55D3
ΔE00 5.13
Amethyst
#9B5FC0
ΔE00 5.29
Purpley
#8756E4
ΔE00 5.70
Electric Purple
#AA23FF
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A452DC #8ADC52
analogous
#5F52DC #A452DC #DC52CF
triadic
#A452DC #DCA452 #52DCA4
tetradic
#A452DC #DC5F52 #8ADC52 #52CFDC
square
#A452DC #DC5F52 #8ADC52 #52CFDC
split-complementary
#A452DC #CFDC52 #52DC5F
monochromatic
#651E95 #8729C8 #A452DC #BF85E6 #DAB8F1
Accessibility & contrast
On white
4.36
#A452DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#A452DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A452DC
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A452DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A452DC | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E0
Deuteranopia (green-blind)
#3C7AD9
Tritanopia (blue-blind)
#9C6E90
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #a452dc; /* rgb */ color: rgb(164, 82, 220); /* oklch */ color: oklch(60.1% 0.207 308.8);
Tailwind
colors: {
custom: {
50: '#c387e8',
500: '#a452dc',
950: '#000000',
},
}SCSS
$custom: #a452dc; $custom-light: #c387e8; $custom-dark: #000000;
JSON
{
"hex": "#a452dc",
"rgb": {
"r": 164,
"g": 82,
"b": 220
},
"hsl": {
"h": 275.652,
"s": 66.346,
"l": 59.216
},
"oklch": {
"l": 0.60057,
"c": 0.20732,
"h": 308.8
},
"luminance": 0.19094
}Semantic roles & 50–950 ramp
primary
#A452DC
secondary
#C0E0AA
accent
#E93F84
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84