#A952EC#A952EC
#A952EC is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.7% C 0.225 H 306.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A952EC |
|---|---|
| RGB | rgb(169, 82, 236) |
| HSL | hsl(274, 80%, 62%) |
| HSV | hsv(274, 65%, 93%) |
| CMYK | cmyk(28.4%, 65.3%, 0%, 7.5%) |
| CIE-LAB | lab(52.43, 61.78, -63.60) |
| CIE-LCH | lch(52.43, 88.67, 314.17°) |
| OKLab | oklab(61.69% 0.1352 -0.1801) |
| OKLCH | oklch(61.69% 0.225 306.9) |
| XYZ | xyz(34.5166, 20.5261, 81.4842) |
| Luminance | 0.2053 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.05
Lighter Purple
#A55AF4
ΔE00 2.23
Mediumorchid
#BA55D3
ΔE00 5.72
Purpley
#8756E4
ΔE00 6.05
Neon Purple
#BC13FE
ΔE00 6.23
Electric Purple
#AA23FF
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A952EC #95EC52
analogous
#5C52EC #A952EC #EC52E2
triadic
#A952EC #ECA952 #52ECA9
tetradic
#A952EC #EC5C52 #95EC52 #52E2EC
square
#A952EC #EC5C52 #95EC52 #52E2EC
split-complementary
#A952EC #E2EC52 #52EC5C
monochromatic
#6C13B0 #8E1BE6 #A952EC #C489F2 #E0C0F8
Accessibility & contrast
On white
4.11
#A952EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#A952EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A952EC
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A952EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A952EC | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#2E7EE9
Tritanopia (blue-blind)
#9E7398
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a952ec; /* rgb */ color: rgb(169, 82, 236); /* oklch */ color: oklch(61.7% 0.225 306.9);
Tailwind
colors: {
custom: {
50: '#c788f3',
500: '#a952ec',
950: '#000000',
},
}SCSS
$custom: #a952ec; $custom-light: #c788f3; $custom-dark: #000000;
JSON
{
"hex": "#a952ec",
"rgb": {
"r": 169,
"g": 82,
"b": 236
},
"hsl": {
"h": 273.896,
"s": 80.208,
"l": 62.353
},
"oklch": {
"l": 0.61688,
"c": 0.22524,
"h": 306.9
},
"luminance": 0.20526
}Semantic roles & 50–950 ramp
primary
#A952EC
secondary
#C9E9B1
accent
#DD0965
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85