#A652E4#A652E4
#A652E4 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.8% C 0.216 H 307.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #A652E4 |
|---|---|
| RGB | rgb(166, 82, 228) |
| HSL | hsl(275, 73%, 61%) |
| HSV | hsv(275, 64%, 89%) |
| CMYK | cmyk(27.2%, 64%, 0%, 10.6%) |
| CIE-LAB | lab(51.55, 59.36, -60.54) |
| CIE-LCH | lch(51.55, 84.79, 314.44°) |
| OKLab | oklab(60.81% 0.132 -0.1712) |
| OKLCH | oklch(60.81% 0.216 307.6) |
| XYZ | xyz(32.7439, 19.7435, 75.4697) |
| Luminance | 0.1974 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.38
Lighter Purple
#A55AF4
ΔE00 3.10
Mediumorchid
#BA55D3
ΔE00 5.40
Purpley
#8756E4
ΔE00 5.66
Amethyst
#9B5FC0
ΔE00 6.22
Neon Purple
#BC13FE
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A652E4 #90E452
analogous
#5D52E4 #A652E4 #E452D9
triadic
#A652E4 #E4A652 #52E4A6
tetradic
#A652E4 #E45D52 #90E452 #52D9E4
square
#A652E4 #E45D52 #90E452 #52D9E4
split-complementary
#A652E4 #D9E452 #52E45D
monochromatic
#6819A2 #8A22D7 #A652E4 #C187EC #DCBCF5
Accessibility & contrast
On white
4.24
#A652E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#A652E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A652E4
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A652E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A652E4 | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#357CE1
Tritanopia (blue-blind)
#9C7094
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #a652e4; /* rgb */ color: rgb(166, 82, 228); /* oklch */ color: oklch(60.8% 0.216 307.6);
Tailwind
colors: {
custom: {
50: '#c588ed',
500: '#a652e4',
950: '#000000',
},
}SCSS
$custom: #a652e4; $custom-light: #c588ed; $custom-dark: #000000;
JSON
{
"hex": "#a652e4",
"rgb": {
"r": 166,
"g": 82,
"b": 228
},
"hsl": {
"h": 274.521,
"s": 73,
"l": 60.784
},
"oklch": {
"l": 0.60811,
"c": 0.2162,
"h": 307.6
},
"luminance": 0.19743
}Semantic roles & 50–950 ramp
primary
#A652E4
secondary
#C5E5AD
accent
#D51064
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84