#A852E6#A852E6
#A852E6 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.2% C 0.219 H 307.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #A852E6 |
|---|---|
| RGB | rgb(168, 82, 230) |
| HSL | hsl(275, 75%, 61%) |
| HSV | hsv(275, 64%, 90%) |
| CMYK | cmyk(27%, 64.3%, 0%, 9.8%) |
| CIE-LAB | lab(51.92, 60.24, -61.05) |
| CIE-LCH | lch(51.92, 85.77, 314.62°) |
| OKLab | oklab(61.17% 0.1344 -0.1727) |
| OKLCH | oklch(61.17% 0.219 307.9) |
| XYZ | xyz(33.4457, 20.0731, 76.9601) |
| Luminance | 0.2007 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.57
Lighter Purple
#A55AF4
ΔE00 2.88
Mediumorchid
#BA55D3
ΔE00 5.26
Purpley
#8756E4
ΔE00 5.97
Neon Purple
#BC13FE
ΔE00 6.37
Amethyst
#9B5FC0
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A852E6 #90E652
analogous
#5E52E6 #A852E6 #E652DA
triadic
#A852E6 #E6A852 #52E6A8
tetradic
#A852E6 #E65E52 #90E652 #52DAE6
square
#A852E6 #E65E52 #90E652 #52DAE6
split-complementary
#A852E6 #DAE652 #52E65E
monochromatic
#6A18A6 #8D20DB #A852E6 #C387EE #DEBDF5
Accessibility & contrast
On white
4.19
#A852E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#A852E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A852E6
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A852E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A852E6 | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#357DE3
Tritanopia (blue-blind)
#9E7195
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #a852e6; /* rgb */ color: rgb(168, 82, 230); /* oklch */ color: oklch(61.2% 0.219 307.9);
Tailwind
colors: {
custom: {
50: '#c688ef',
500: '#a852e6',
950: '#000000',
},
}SCSS
$custom: #a852e6; $custom-light: #c688ef; $custom-dark: #000000;
JSON
{
"hex": "#a852e6",
"rgb": {
"r": 168,
"g": 82,
"b": 230
},
"hsl": {
"h": 274.865,
"s": 74.747,
"l": 61.176
},
"oklch": {
"l": 0.61174,
"c": 0.21882,
"h": 307.9
},
"luminance": 0.20073
}Semantic roles & 50–950 ramp
primary
#A852E6
secondary
#C5E6AE
accent
#D70F63
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84