#A552E2#A552E2
#A552E2 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.6% C 0.214 H 307.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #A552E2 |
|---|---|
| RGB | rgb(165, 82, 226) |
| HSL | hsl(275, 71%, 60%) |
| HSV | hsv(275, 64%, 89%) |
| CMYK | cmyk(27%, 63.7%, 0%, 11.4%) |
| CIE-LAB | lab(51.30, 58.70, -59.82) |
| CIE-LCH | lch(51.30, 83.81, 314.46°) |
| OKLab | oklab(60.56% 0.1309 -0.1691) |
| OKLCH | oklch(60.56% 0.214 307.7) |
| XYZ | xyz(32.2590, 19.5253, 74.0061) |
| Luminance | 0.1953 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.59
Lighter Purple
#A55AF4
ΔE00 3.36
Mediumorchid
#BA55D3
ΔE00 5.40
Purpley
#8756E4
ΔE00 5.55
Amethyst
#9B5FC0
ΔE00 5.99
Electric Purple
#AA23FF
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A552E2 #8FE252
analogous
#5D52E2 #A552E2 #E252D7
triadic
#A552E2 #E2A552 #52E2A5
tetradic
#A552E2 #E25D52 #8FE252 #52D7E2
square
#A552E2 #E25D52 #8FE252 #52D7E2
split-complementary
#A552E2 #D7E252 #52E25D
monochromatic
#671B9F #8923D3 #A552E2 #C086EB #DCBBF4
Accessibility & contrast
On white
4.28
#A552E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#A552E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A552E2
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A552E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A552E2 | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#367BDF
Tritanopia (blue-blind)
#9B7093
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #a552e2; /* rgb */ color: rgb(165, 82, 226); /* oklch */ color: oklch(60.6% 0.214 307.7);
Tailwind
colors: {
custom: {
50: '#c487ec',
500: '#a552e2',
950: '#000000',
},
}SCSS
$custom: #a552e2; $custom-light: #c487ec; $custom-dark: #000000;
JSON
{
"hex": "#a552e2",
"rgb": {
"r": 165,
"g": 82,
"b": 226
},
"hsl": {
"h": 274.583,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.60564,
"c": 0.21385,
"h": 307.7
},
"luminance": 0.19525
}Semantic roles & 50–950 ramp
primary
#A552E2
secondary
#C4E3AC
accent
#D31264
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84