#A952E4#A952E4
#A952E4 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.2% C 0.217 H 308.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #A952E4 |
|---|---|
| RGB | rgb(169, 82, 228) |
| HSL | hsl(276, 73%, 61%) |
| HSV | hsv(276, 64%, 89%) |
| CMYK | cmyk(25.9%, 64%, 0%, 10.6%) |
| CIE-LAB | lab(51.92, 60.02, -59.92) |
| CIE-LCH | lch(51.92, 84.81, 315.05°) |
| OKLab | oklab(61.16% 0.1358 -0.1693) |
| OKLCH | oklch(61.16% 0.217 308.7) |
| XYZ | xyz(33.3803, 20.0716, 75.4995) |
| Luminance | 0.2007 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.86
Lighter Purple
#A55AF4
ΔE00 3.17
Mediumorchid
#BA55D3
ΔE00 4.91
Purpley
#8756E4
ΔE00 6.22
Amethyst
#9B5FC0
ΔE00 6.23
Neon Purple
#BC13FE
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A952E4 #8DE452
analogous
#6052E4 #A952E4 #E452D6
triadic
#A952E4 #E4A952 #52E4A9
tetradic
#A952E4 #E46052 #8DE452 #52D6E4
square
#A952E4 #E46052 #8DE452 #52D6E4
split-complementary
#A952E4 #D6E452 #52E460
monochromatic
#6B19A2 #8E22D7 #A952E4 #C387EC #DEBCF5
Accessibility & contrast
On white
4.19
#A952E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#A952E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A952E4
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A952E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A952E4 | 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)
#0078E8
Deuteranopia (green-blind)
#397DE1
Tritanopia (blue-blind)
#A07094
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #a952e4; /* rgb */ color: rgb(169, 82, 228); /* oklch */ color: oklch(61.2% 0.217 308.7);
Tailwind
colors: {
custom: {
50: '#c788ed',
500: '#a952e4',
950: '#000000',
},
}SCSS
$custom: #a952e4; $custom-light: #c788ed; $custom-dark: #000000;
JSON
{
"hex": "#a952e4",
"rgb": {
"r": 169,
"g": 82,
"b": 228
},
"hsl": {
"h": 275.753,
"s": 73,
"l": 60.784
},
"oklch": {
"l": 0.61159,
"c": 0.21705,
"h": 308.7
},
"luminance": 0.20071
}Semantic roles & 50–950 ramp
primary
#A952E4
secondary
#C4E5AD
accent
#D51060
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84