#A552F1#A552F1
#A552F1 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.6% C 0.229 H 304.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A552F1 |
|---|---|
| RGB | rgb(165, 82, 241) |
| HSL | hsl(271, 85%, 63%) |
| HSV | hsv(271, 66%, 95%) |
| CMYK | cmyk(31.5%, 66%, 0%, 5.5%) |
| CIE-LAB | lab(52.27, 62.08, -66.68) |
| CIE-LCH | lch(52.27, 91.11, 312.96°) |
| OKLab | oklab(61.57% 0.1296 -0.1893) |
| OKLCH | oklch(61.57% 0.229 304.4) |
| XYZ | xyz(34.4080, 20.3849, 85.3240) |
| Luminance | 0.2039 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.57
Lighter Purple
#A55AF4
ΔE00 1.82
Purpley
#8756E4
ΔE00 5.39
Electric Purple
#AA23FF
ΔE00 6.12
Neon Purple
#BC13FE
ΔE00 6.33
Bright Purple
#BE03FD
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A552F1 #9EF152
analogous
#5552F1 #A552F1 #F152ED
triadic
#A552F1 #F1A552 #52F1A5
tetradic
#A552F1 #F15552 #9EF152 #52EDF1
square
#A552F1 #F15552 #9EF152 #52EDF1
split-complementary
#A552F1 #EDF152 #52F155
monochromatic
#680FBA #8819EC #A552F1 #C28BF6 #E0C3FA
Accessibility & contrast
On white
4.14
#A552F1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#A552F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A552F1
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A552F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A552F1 | 1.00 | 4.14 | 5.08 | 5.08 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF6
Deuteranopia (green-blind)
#1A7DEE
Tritanopia (blue-blind)
#97759B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a552f1; /* rgb */ color: rgb(165, 82, 241); /* oklch */ color: oklch(61.6% 0.229 304.4);
Tailwind
colors: {
custom: {
50: '#c588f7',
500: '#a552f1',
950: '#000000',
},
}SCSS
$custom: #a552f1; $custom-light: #c588f7; $custom-dark: #000000;
JSON
{
"hex": "#a552f1",
"rgb": {
"r": 165,
"g": 82,
"b": 241
},
"hsl": {
"h": 271.321,
"s": 85.027,
"l": 63.333
},
"oklch": {
"l": 0.61573,
"c": 0.22942,
"h": 304.4
},
"luminance": 0.20385
}Semantic roles & 50–950 ramp
primary
#A552F1
secondary
#CEECB3
accent
#E2046E
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#130C17
muted
#827D85