#A652E6#A652E6
#A652E6 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.9% C 0.218 H 307.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #A652E6 |
|---|---|
| RGB | rgb(166, 82, 230) |
| HSL | hsl(274, 75%, 61%) |
| HSV | hsv(274, 64%, 90%) |
| CMYK | cmyk(27.8%, 64.3%, 0%, 9.8%) |
| CIE-LAB | lab(51.67, 59.81, -61.46) |
| CIE-LCH | lch(51.67, 85.76, 314.22°) |
| OKLab | oklab(60.94% 0.1319 -0.1739) |
| OKLCH | oklch(60.94% 0.218 307.2) |
| XYZ | xyz(33.0231, 19.8551, 76.9403) |
| Luminance | 0.1986 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.19
Lighter Purple
#A55AF4
ΔE00 2.86
Mediumorchid
#BA55D3
ΔE00 5.58
Purpley
#8756E4
ΔE00 5.60
Electric Purple
#AA23FF
ΔE00 6.40
Neon Purple
#BC13FE
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A652E6 #92E652
analogous
#5C52E6 #A652E6 #E652DC
triadic
#A652E6 #E6A652 #52E6A6
tetradic
#A652E6 #E65C52 #92E652 #52DCE6
square
#A652E6 #E65C52 #92E652 #52DCE6
split-complementary
#A652E6 #DCE652 #52E65C
monochromatic
#6818A6 #8A20DB #A652E6 #C287EE #DDBDF5
Accessibility & contrast
On white
4.22
#A652E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#A652E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A652E6
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A652E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A652E6 | 1.00 | 4.22 | 4.97 | 4.97 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#327CE3
Tritanopia (blue-blind)
#9C7195
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #a652e6; /* rgb */ color: rgb(166, 82, 230); /* oklch */ color: oklch(60.9% 0.218 307.2);
Tailwind
colors: {
custom: {
50: '#c588ef',
500: '#a652e6',
950: '#000000',
},
}SCSS
$custom: #a652e6; $custom-light: #c588ef; $custom-dark: #000000;
JSON
{
"hex": "#a652e6",
"rgb": {
"r": 166,
"g": 82,
"b": 230
},
"hsl": {
"h": 274.054,
"s": 74.747,
"l": 61.176
},
"oklch": {
"l": 0.60943,
"c": 0.21827,
"h": 307.2
},
"luminance": 0.19855
}Semantic roles & 50–950 ramp
primary
#A652E6
secondary
#C6E6AE
accent
#D70F65
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84