#A852E1#A852E1
#A852E1 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.8% C 0.214 H 309.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #A852E1 |
|---|---|
| RGB | rgb(168, 82, 225) |
| HSL | hsl(276, 70%, 60%) |
| HSV | hsv(276, 64%, 88%) |
| CMYK | cmyk(25.3%, 63.6%, 0%, 11.8%) |
| CIE-LAB | lab(51.61, 59.14, -58.73) |
| CIE-LCH | lch(51.61, 83.35, 315.20°) |
| OKLab | oklab(60.85% 0.1347 -0.1659) |
| OKLCH | oklch(60.85% 0.214 309.1) |
| XYZ | xyz(32.7537, 19.7962, 73.3152) |
| Luminance | 0.1980 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.02
Lighter Purple
#A55AF4
ΔE00 3.53
Mediumorchid
#BA55D3
ΔE00 4.80
Amethyst
#9B5FC0
ΔE00 5.87
Purpley
#8756E4
ΔE00 6.16
Neon Purple
#BC13FE
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A852E1 #8BE152
analogous
#6152E1 #A852E1 #E152D2
triadic
#A852E1 #E1A852 #52E1A8
tetradic
#A852E1 #E16152 #8BE152 #52D2E1
square
#A852E1 #E16152 #8BE152 #52D2E1
split-complementary
#A852E1 #D2E152 #52E161
monochromatic
#691B9D #8C24D1 #A852E1 #C286EA #DCBAF3
Accessibility & contrast
On white
4.23
#A852E1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#A852E1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A852E1
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A852E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A852E1 | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E5
Deuteranopia (green-blind)
#3C7CDE
Tritanopia (blue-blind)
#A06F92
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #a852e1; /* rgb */ color: rgb(168, 82, 225); /* oklch */ color: oklch(60.8% 0.214 309.1);
Tailwind
colors: {
custom: {
50: '#c688eb',
500: '#a852e1',
950: '#000000',
},
}SCSS
$custom: #a852e1; $custom-light: #c688eb; $custom-dark: #000000;
JSON
{
"hex": "#a852e1",
"rgb": {
"r": 168,
"g": 82,
"b": 225
},
"hsl": {
"h": 276.084,
"s": 70.443,
"l": 60.196
},
"oklch": {
"l": 0.60847,
"c": 0.21369,
"h": 309.1
},
"luminance": 0.19796
}Semantic roles & 50–950 ramp
primary
#A852E1
secondary
#C2E3AC
accent
#D2135F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84