#A652E9#A652E9
#A652E9 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.1% C 0.221 H 306.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #A652E9 |
|---|---|
| RGB | rgb(166, 82, 233) |
| HSL | hsl(273, 77%, 62%) |
| HSV | hsv(273, 65%, 91%) |
| CMYK | cmyk(28.8%, 64.8%, 0%, 8.6%) |
| CIE-LAB | lab(51.87, 60.48, -62.84) |
| CIE-LCH | lch(51.87, 87.22, 313.90°) |
| OKLab | oklab(61.14% 0.1316 -0.178) |
| OKLCH | oklch(61.14% 0.221 306.5) |
| XYZ | xyz(33.4480, 20.0251, 79.1782) |
| Luminance | 0.2003 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.45
Lighter Purple
#A55AF4
ΔE00 2.51
Purpley
#8756E4
ΔE00 5.53
Mediumorchid
#BA55D3
ΔE00 5.86
Electric Purple
#AA23FF
ΔE00 6.29
Neon Purple
#BC13FE
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A652E9 #95E952
analogous
#5A52E9 #A652E9 #E952E1
triadic
#A652E9 #E9A652 #52E9A6
tetradic
#A652E9 #E95A52 #95E952 #52E1E9
square
#A652E9 #E95A52 #95E952 #52E1E9
split-complementary
#A652E9 #E1E952 #52E95A
monochromatic
#6916AB #8A1DE1 #A652E9 #C288F0 #DEBFF7
Accessibility & contrast
On white
4.20
#A652E9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#A652E9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A652E9
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A652E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A652E9 | 1.00 | 4.20 | 5.01 | 5.01 |
| #FFFFFF | 4.20 | 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)
#0079EE
Deuteranopia (green-blind)
#2E7CE6
Tritanopia (blue-blind)
#9B7297
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #a652e9; /* rgb */ color: rgb(166, 82, 233); /* oklch */ color: oklch(61.1% 0.221 306.5);
Tailwind
colors: {
custom: {
50: '#c588f1',
500: '#a652e9',
950: '#000000',
},
}SCSS
$custom: #a652e9; $custom-light: #c588f1; $custom-dark: #000000;
JSON
{
"hex": "#a652e9",
"rgb": {
"r": 166,
"g": 82,
"b": 233
},
"hsl": {
"h": 273.377,
"s": 77.436,
"l": 61.765
},
"oklch": {
"l": 0.61143,
"c": 0.22137,
"h": 306.5
},
"luminance": 0.20025
}Semantic roles & 50–950 ramp
primary
#A652E9
secondary
#C8E7AF
accent
#DA0C67
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85