#A352E2#A352E2
#A352E2 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.3% C 0.213 H 307.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #A352E2 |
|---|---|
| RGB | rgb(163, 82, 226) |
| HSL | hsl(274, 71%, 60%) |
| HSV | hsv(274, 64%, 89%) |
| CMYK | cmyk(27.9%, 63.7%, 0%, 11.4%) |
| CIE-LAB | lab(51.05, 58.26, -60.23) |
| CIE-LCH | lch(51.05, 83.80, 314.05°) |
| OKLab | oklab(60.33% 0.1283 -0.1704) |
| OKLCH | oklch(60.33% 0.213 307) |
| XYZ | xyz(31.8461, 19.3125, 73.9868) |
| Luminance | 0.1931 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.64
Lighter Purple
#A55AF4
ΔE00 3.39
Purpley
#8756E4
ΔE00 5.18
Mediumorchid
#BA55D3
ΔE00 5.75
Amethyst
#9B5FC0
ΔE00 6.02
Electric Purple
#AA23FF
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A352E2 #91E252
analogous
#5B52E2 #A352E2 #E252D9
triadic
#A352E2 #E2A352 #52E2A3
tetradic
#A352E2 #E25B52 #91E252 #52D9E2
square
#A352E2 #E25B52 #91E252 #52D9E2
split-complementary
#A352E2 #D9E252 #52E25B
monochromatic
#651B9F #8623D3 #A352E2 #BF86EB #DBBBF4
Accessibility & contrast
On white
4.32
#A352E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#A352E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A352E2
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A352E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A352E2 | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#347ADF
Tritanopia (blue-blind)
#997093
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #a352e2; /* rgb */ color: rgb(163, 82, 226); /* oklch */ color: oklch(60.3% 0.213 307.0);
Tailwind
colors: {
custom: {
50: '#c287ec',
500: '#a352e2',
950: '#000000',
},
}SCSS
$custom: #a352e2; $custom-light: #c287ec; $custom-dark: #000000;
JSON
{
"hex": "#a352e2",
"rgb": {
"r": 163,
"g": 82,
"b": 226
},
"hsl": {
"h": 273.75,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.60333,
"c": 0.21331,
"h": 307
},
"luminance": 0.19312
}Semantic roles & 50–950 ramp
primary
#A352E2
secondary
#C4E3AC
accent
#D31267
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84