#A952EE#A952EE
#A952EE is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.8% C 0.227 H 306.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #A952EE |
|---|---|
| RGB | rgb(169, 82, 238) |
| HSL | hsl(273, 82%, 63%) |
| HSV | hsv(273, 66%, 93%) |
| CMYK | cmyk(29%, 65.5%, 0%, 6.7%) |
| CIE-LAB | lab(52.56, 62.23, -64.51) |
| CIE-LCH | lch(52.56, 89.63, 313.97°) |
| OKLab | oklab(61.82% 0.1351 -0.1828) |
| OKLCH | oklch(61.82% 0.227 306.5) |
| XYZ | xyz(34.8088, 20.6430, 83.0231) |
| Luminance | 0.2064 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.27
Lighter Purple
#A55AF4
ΔE00 2.03
Mediumorchid
#BA55D3
ΔE00 5.93
Purpley
#8756E4
ΔE00 6.05
Neon Purple
#BC13FE
ΔE00 6.22
Electric Purple
#AA23FF
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A952EE #97EE52
analogous
#5B52EE #A952EE #EE52E5
triadic
#A952EE #EEA952 #52EEA9
tetradic
#A952EE #EE5B52 #97EE52 #52E5EE
square
#A952EE #EE5B52 #97EE52 #52E5EE
split-complementary
#A952EE #E5EE52 #52EE5B
monochromatic
#6C12B4 #8D1AE9 #A952EE #C58AF3 #E0C1F9
Accessibility & contrast
On white
4.09
#A952EE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#A952EE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A952EE
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A952EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A952EE | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF3
Deuteranopia (green-blind)
#2A7EEB
Tritanopia (blue-blind)
#9D7499
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a952ee; /* rgb */ color: rgb(169, 82, 238); /* oklch */ color: oklch(61.8% 0.227 306.5);
Tailwind
colors: {
custom: {
50: '#c788f4',
500: '#a952ee',
950: '#000000',
},
}SCSS
$custom: #a952ee; $custom-light: #c788f4; $custom-dark: #000000;
JSON
{
"hex": "#a952ee",
"rgb": {
"r": 169,
"g": 82,
"b": 238
},
"hsl": {
"h": 273.462,
"s": 82.105,
"l": 62.745
},
"oklch": {
"l": 0.61822,
"c": 0.22728,
"h": 306.5
},
"luminance": 0.20643
}Semantic roles & 50–950 ramp
primary
#A952EE
secondary
#CBEAB2
accent
#DE0766
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85