#A952E8#A952E8
#A952E8 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.4% C 0.221 H 307.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A952E8 |
|---|---|
| RGB | rgb(169, 82, 232) |
| HSL | hsl(275, 77%, 62%) |
| HSV | hsv(275, 65%, 91%) |
| CMYK | cmyk(27.2%, 64.7%, 0%, 9%) |
| CIE-LAB | lab(52.17, 60.90, -61.77) |
| CIE-LCH | lch(52.17, 86.74, 314.59°) |
| OKLab | oklab(61.42% 0.1355 -0.1747) |
| OKLCH | oklch(61.42% 0.221 307.8) |
| XYZ | xyz(33.9420, 20.2963, 78.4578) |
| Luminance | 0.2030 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.76
Lighter Purple
#A55AF4
ΔE00 2.67
Mediumorchid
#BA55D3
ΔE00 5.30
Purpley
#8756E4
ΔE00 6.10
Neon Purple
#BC13FE
ΔE00 6.31
Electric Purple
#AA23FF
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A952E8 #91E852
analogous
#5E52E8 #A952E8 #E852DC
triadic
#A952E8 #E8A952 #52E8A9
tetradic
#A952E8 #E85E52 #91E852 #52DCE8
square
#A952E8 #E85E52 #91E852 #52DCE8
split-complementary
#A952E8 #DCE852 #52E85E
monochromatic
#6C16A9 #8E1EDF #A952E8 #C488EF #DFBEF6
Accessibility & contrast
On white
4.15
#A952E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#A952E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A952E8
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A952E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A952E8 | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#347DE5
Tritanopia (blue-blind)
#9F7196
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #a952e8; /* rgb */ color: rgb(169, 82, 232); /* oklch */ color: oklch(61.4% 0.221 307.8);
Tailwind
colors: {
custom: {
50: '#c788f0',
500: '#a952e8',
950: '#000000',
},
}SCSS
$custom: #a952e8; $custom-light: #c788f0; $custom-dark: #000000;
JSON
{
"hex": "#a952e8",
"rgb": {
"r": 169,
"g": 82,
"b": 232
},
"hsl": {
"h": 274.8,
"s": 76.531,
"l": 61.569
},
"oklch": {
"l": 0.61422,
"c": 0.22115,
"h": 307.8
},
"luminance": 0.20296
}Semantic roles & 50–950 ramp
primary
#A952E8
secondary
#C6E7AF
accent
#D90D62
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85