#A652EC#A652EC
#A652EC is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.3% C 0.224 H 305.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A652EC |
|---|---|
| RGB | rgb(166, 82, 236) |
| HSL | hsl(273, 80%, 62%) |
| HSV | hsv(273, 65%, 93%) |
| CMYK | cmyk(29.7%, 65.3%, 0%, 7.5%) |
| CIE-LAB | lab(52.06, 61.16, -64.21) |
| CIE-LCH | lch(52.06, 88.67, 313.60°) |
| OKLab | oklab(61.35% 0.1314 -0.182) |
| OKLCH | oklch(61.35% 0.224 305.8) |
| XYZ | xyz(33.8802, 20.1980, 81.4544) |
| Luminance | 0.2020 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.86
Lighter Purple
#A55AF4
ΔE00 2.20
Purpley
#8756E4
ΔE00 5.51
Mediumorchid
#BA55D3
ΔE00 6.15
Electric Purple
#AA23FF
ΔE00 6.22
Neon Purple
#BC13FE
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A652EC #98EC52
analogous
#5952EC #A652EC #EC52E5
triadic
#A652EC #ECA652 #52ECA6
tetradic
#A652EC #EC5952 #98EC52 #52E5EC
square
#A652EC #EC5952 #98EC52 #52E5EC
split-complementary
#A652EC #E5EC52 #52EC59
monochromatic
#6913B0 #8A1BE6 #A652EC #C289F2 #DFC0F8
Accessibility & contrast
On white
4.17
#A652EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#A652EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A652EC
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A652EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A652EC | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#287DE9
Tritanopia (blue-blind)
#9A7398
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #a652ec; /* rgb */ color: rgb(166, 82, 236); /* oklch */ color: oklch(61.3% 0.224 305.8);
Tailwind
colors: {
custom: {
50: '#c588f3',
500: '#a652ec',
950: '#000000',
},
}SCSS
$custom: #a652ec; $custom-light: #c588f3; $custom-dark: #000000;
JSON
{
"hex": "#a652ec",
"rgb": {
"r": 166,
"g": 82,
"b": 236
},
"hsl": {
"h": 272.727,
"s": 80.208,
"l": 62.353
},
"oklch": {
"l": 0.61345,
"c": 0.22447,
"h": 305.8
},
"luminance": 0.20198
}Semantic roles & 50–950 ramp
primary
#A652EC
secondary
#CAE9B1
accent
#DD0969
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85