#A952E2#A952E2
#A952E2 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.0% C 0.215 H 309.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #A952E2 |
|---|---|
| RGB | rgb(169, 82, 226) |
| HSL | hsl(276, 71%, 60%) |
| HSV | hsv(276, 64%, 89%) |
| CMYK | cmyk(25.2%, 63.7%, 0%, 11.4%) |
| CIE-LAB | lab(51.79, 59.58, -58.99) |
| CIE-LCH | lch(51.79, 83.84, 315.28°) |
| OKLab | oklab(61.03% 0.1359 -0.1666) |
| OKLCH | oklch(61.03% 0.215 309.2) |
| XYZ | xyz(33.1042, 19.9612, 74.0457) |
| Luminance | 0.1996 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.05
Lighter Purple
#A55AF4
ΔE00 3.43
Mediumorchid
#BA55D3
ΔE00 4.72
Amethyst
#9B5FC0
ΔE00 6.00
Purpley
#8756E4
ΔE00 6.30
Neon Purple
#BC13FE
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A952E2 #8BE252
analogous
#6152E2 #A952E2 #E252D3
triadic
#A952E2 #E2A952 #52E2A9
tetradic
#A952E2 #E26152 #8BE252 #52D3E2
square
#A952E2 #E26152 #8BE252 #52D3E2
split-complementary
#A952E2 #D3E252 #52E261
monochromatic
#6B1B9F #8E23D3 #A952E2 #C386EB #DDBBF4
Accessibility & contrast
On white
4.21
#A952E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#A952E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A952E2
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A952E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A952E2 | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078E6
Deuteranopia (green-blind)
#3C7DDF
Tritanopia (blue-blind)
#A16F93
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #a952e2; /* rgb */ color: rgb(169, 82, 226); /* oklch */ color: oklch(61.0% 0.215 309.2);
Tailwind
colors: {
custom: {
50: '#c788ec',
500: '#a952e2',
950: '#000000',
},
}SCSS
$custom: #a952e2; $custom-light: #c788ec; $custom-dark: #000000;
JSON
{
"hex": "#a952e2",
"rgb": {
"r": 169,
"g": 82,
"b": 226
},
"hsl": {
"h": 276.25,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.61029,
"c": 0.21501,
"h": 309.2
},
"luminance": 0.19961
}Semantic roles & 50–950 ramp
primary
#A952E2
secondary
#C2E3AC
accent
#D3125F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84