#A652E3#A652E3
#A652E3 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.7% C 0.215 H 307.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #A652E3 |
|---|---|
| RGB | rgb(166, 82, 227) |
| HSL | hsl(275, 72%, 61%) |
| HSV | hsv(275, 64%, 89%) |
| CMYK | cmyk(26.9%, 63.9%, 0%, 11%) |
| CIE-LAB | lab(51.48, 59.14, -60.08) |
| CIE-LCH | lch(51.48, 84.30, 314.55°) |
| OKLab | oklab(60.75% 0.1321 -0.1699) |
| OKLCH | oklch(60.75% 0.215 307.9) |
| XYZ | xyz(32.6055, 19.6881, 74.7407) |
| Luminance | 0.1969 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.51
Lighter Purple
#A55AF4
ΔE00 3.23
Mediumorchid
#BA55D3
ΔE00 5.31
Purpley
#8756E4
ΔE00 5.69
Amethyst
#9B5FC0
ΔE00 6.10
Neon Purple
#BC13FE
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A652E3 #8FE352
analogous
#5E52E3 #A652E3 #E352D7
triadic
#A652E3 #E3A652 #52E3A6
tetradic
#A652E3 #E35E52 #8FE352 #52D7E3
square
#A652E3 #E35E52 #8FE352 #52D7E3
split-complementary
#A652E3 #D7E352 #52E35E
monochromatic
#681AA1 #8A23D5 #A652E3 #C187EC #DCBBF4
Accessibility & contrast
On white
4.25
#A652E3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#A652E3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A652E3
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A652E3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A652E3 | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#377CE0
Tritanopia (blue-blind)
#9D7093
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #a652e3; /* rgb */ color: rgb(166, 82, 227); /* oklch */ color: oklch(60.7% 0.215 307.9);
Tailwind
colors: {
custom: {
50: '#c588ed',
500: '#a652e3',
950: '#000000',
},
}SCSS
$custom: #a652e3; $custom-light: #c588ed; $custom-dark: #000000;
JSON
{
"hex": "#a652e3",
"rgb": {
"r": 166,
"g": 82,
"b": 227
},
"hsl": {
"h": 274.759,
"s": 72.139,
"l": 60.588
},
"oklch": {
"l": 0.60745,
"c": 0.21517,
"h": 307.9
},
"luminance": 0.19688
}Semantic roles & 50–950 ramp
primary
#A652E3
secondary
#C4E4AD
accent
#D41163
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84