#A552E3#A552E3
#A552E3 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.6% C 0.215 H 307.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A552E3 |
|---|---|
| RGB | rgb(165, 82, 227) |
| HSL | hsl(274, 72%, 61%) |
| HSV | hsv(274, 64%, 89%) |
| CMYK | cmyk(27.3%, 63.9%, 0%, 11%) |
| CIE-LAB | lab(51.36, 58.92, -60.28) |
| CIE-LCH | lch(51.36, 84.30, 314.35°) |
| OKLab | oklab(60.63% 0.1308 -0.1705) |
| OKLCH | oklch(60.63% 0.215 307.5) |
| XYZ | xyz(32.3966, 19.5804, 74.7309) |
| Luminance | 0.1958 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.44
Lighter Purple
#A55AF4
ΔE00 3.23
Mediumorchid
#BA55D3
ΔE00 5.48
Purpley
#8756E4
ΔE00 5.51
Amethyst
#9B5FC0
ΔE00 6.11
Electric Purple
#AA23FF
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A552E3 #90E352
analogous
#5C52E3 #A552E3 #E352D8
triadic
#A552E3 #E3A552 #52E3A5
tetradic
#A552E3 #E35C52 #90E352 #52D8E3
square
#A552E3 #E35C52 #90E352 #52D8E3
split-complementary
#A552E3 #D8E352 #52E35C
monochromatic
#671AA1 #8923D5 #A552E3 #C087EC #DCBBF4
Accessibility & contrast
On white
4.27
#A552E3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#A552E3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A552E3
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A552E3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A552E3 | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#357BE0
Tritanopia (blue-blind)
#9B7093
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #a552e3; /* rgb */ color: rgb(165, 82, 227); /* oklch */ color: oklch(60.6% 0.215 307.5);
Tailwind
colors: {
custom: {
50: '#c487ed',
500: '#a552e3',
950: '#000000',
},
}SCSS
$custom: #a552e3; $custom-light: #c487ed; $custom-dark: #000000;
JSON
{
"hex": "#a552e3",
"rgb": {
"r": 165,
"g": 82,
"b": 227
},
"hsl": {
"h": 274.345,
"s": 72.139,
"l": 60.588
},
"oklch": {
"l": 0.60629,
"c": 0.21489,
"h": 307.5
},
"luminance": 0.1958
}Semantic roles & 50–950 ramp
primary
#A552E3
secondary
#C4E4AD
accent
#D41165
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84