#A952E6#A952E6
#A952E6 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.3% C 0.219 H 308.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A952E6 |
|---|---|
| RGB | rgb(169, 82, 230) |
| HSL | hsl(275, 75%, 61%) |
| HSV | hsv(275, 64%, 90%) |
| CMYK | cmyk(26.5%, 64.3%, 0%, 9.8%) |
| CIE-LAB | lab(52.04, 60.45, -60.85) |
| CIE-LCH | lch(52.04, 85.77, 314.82°) |
| OKLab | oklab(61.29% 0.1357 -0.172) |
| OKLCH | oklch(61.29% 0.219 308.3) |
| XYZ | xyz(33.6595, 20.1833, 76.9701) |
| Luminance | 0.2018 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.75
Lighter Purple
#A55AF4
ΔE00 2.91
Mediumorchid
#BA55D3
ΔE00 5.10
Purpley
#8756E4
ΔE00 6.15
Neon Purple
#BC13FE
ΔE00 6.36
Amethyst
#9B5FC0
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A952E6 #8FE652
analogous
#5F52E6 #A952E6 #E652D9
triadic
#A952E6 #E6A952 #52E6A9
tetradic
#A952E6 #E65F52 #8FE652 #52D9E6
square
#A952E6 #E65F52 #8FE652 #52D9E6
split-complementary
#A952E6 #D9E652 #52E65F
monochromatic
#6B18A6 #8E20DB #A952E6 #C487EE #DEBDF5
Accessibility & contrast
On white
4.17
#A952E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#A952E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A952E6
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A952E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A952E6 | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#377DE3
Tritanopia (blue-blind)
#A07195
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #a952e6; /* rgb */ color: rgb(169, 82, 230); /* oklch */ color: oklch(61.3% 0.219 308.3);
Tailwind
colors: {
custom: {
50: '#c788ef',
500: '#a952e6',
950: '#000000',
},
}SCSS
$custom: #a952e6; $custom-light: #c788ef; $custom-dark: #000000;
JSON
{
"hex": "#a952e6",
"rgb": {
"r": 169,
"g": 82,
"b": 230
},
"hsl": {
"h": 275.27,
"s": 74.747,
"l": 61.176
},
"oklch": {
"l": 0.6129,
"c": 0.2191,
"h": 308.3
},
"luminance": 0.20183
}Semantic roles & 50–950 ramp
primary
#A952E6
secondary
#C5E6AE
accent
#D70F61
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84