#A552E8#A552E8
#A552E8 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.0% C 0.220 H 306.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #A552E8 |
|---|---|
| RGB | rgb(165, 82, 232) |
| HSL | hsl(273, 77%, 62%) |
| HSV | hsv(273, 65%, 91%) |
| CMYK | cmyk(28.9%, 64.7%, 0%, 9%) |
| CIE-LAB | lab(51.68, 60.04, -62.59) |
| CIE-LCH | lch(51.68, 86.73, 313.81°) |
| OKLab | oklab(60.96% 0.1304 -0.1773) |
| OKLCH | oklch(60.96% 0.22 306.3) |
| XYZ | xyz(33.0967, 19.8604, 78.4182) |
| Luminance | 0.1986 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.29
Lighter Purple
#A55AF4
ΔE00 2.63
Purpley
#8756E4
ΔE00 5.37
Mediumorchid
#BA55D3
ΔE00 5.92
Electric Purple
#AA23FF
ΔE00 6.28
Neon Purple
#BC13FE
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A552E8 #95E852
analogous
#5A52E8 #A552E8 #E852E0
triadic
#A552E8 #E8A552 #52E8A5
tetradic
#A552E8 #E85A52 #95E852 #52E0E8
square
#A552E8 #E85A52 #95E852 #52E0E8
split-complementary
#A552E8 #E0E852 #52E85A
monochromatic
#6816A9 #891EDF #A552E8 #C188EF #DDBEF6
Accessibility & contrast
On white
4.22
#A552E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#A552E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A552E8
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A552E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A552E8 | 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)
#0078ED
Deuteranopia (green-blind)
#2E7CE5
Tritanopia (blue-blind)
#9A7296
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #a552e8; /* rgb */ color: rgb(165, 82, 232); /* oklch */ color: oklch(61.0% 0.220 306.3);
Tailwind
colors: {
custom: {
50: '#c488f0',
500: '#a552e8',
950: '#000000',
},
}SCSS
$custom: #a552e8; $custom-light: #c488f0; $custom-dark: #000000;
JSON
{
"hex": "#a552e8",
"rgb": {
"r": 165,
"g": 82,
"b": 232
},
"hsl": {
"h": 273.2,
"s": 76.531,
"l": 61.569
},
"oklch": {
"l": 0.60961,
"c": 0.22008,
"h": 306.3
},
"luminance": 0.1986
}Semantic roles & 50–950 ramp
primary
#A552E8
secondary
#C8E7AF
accent
#D90D68
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85