#A452C8#A452C8
#A452C8 is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.8% C 0.187 H 314.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #A452C8 |
|---|---|
| RGB | rgb(164, 82, 200) |
| HSL | hsl(282, 52%, 55%) |
| HSV | hsv(282, 59%, 78%) |
| CMYK | cmyk(18%, 59%, 0%, 21.6%) |
| CIE-LAB | lab(49.61, 52.82, -47.69) |
| CIE-LCH | lch(49.61, 71.16, 317.92°) |
| OKLab | oklab(58.82% 0.1301 -0.1336) |
| OKLCH | oklch(58.82% 0.187 314.2) |
| XYZ | xyz(28.7507, 18.0981, 56.6112) |
| Luminance | 0.1810 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.53
Mediumorchid
#BA55D3
ΔE00 4.59
Lightish Purple
#A552E6
ΔE00 4.71
Deep Lavender
#8D5EB7
ΔE00 5.49
Purply
#983FB2
ΔE00 6.20
Darkorchid
#9932CC
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A452C8 #76C852
analogous
#6952C8 #A452C8 #C852B1
triadic
#A452C8 #C8A452 #52C8A4
tetradic
#A452C8 #C86952 #76C852 #52B1C8
square
#A452C8 #C86952 #76C852 #52B1C8
split-complementary
#A452C8 #B1C852 #52C869
monochromatic
#602779 #8535A8 #A452C8 #BC80D7 #D5AFE6
Accessibility & contrast
On white
4.55
#A452C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#A452C8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A452C8
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A452C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A452C8 | 1.00 | 4.55 | 4.62 | 4.62 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E71CC
Deuteranopia (green-blind)
#4F78C5
Tritanopia (blue-blind)
#A16785
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #a452c8; /* rgb */ color: rgb(164, 82, 200); /* oklch */ color: oklch(58.8% 0.187 314.2);
Tailwind
colors: {
custom: {
50: '#c287d9',
500: '#a452c8',
950: '#000000',
},
}SCSS
$custom: #a452c8; $custom-light: #c287d9; $custom-dark: #000000;
JSON
{
"hex": "#a452c8",
"rgb": {
"r": 164,
"g": 82,
"b": 200
},
"hsl": {
"h": 281.695,
"s": 51.754,
"l": 55.294
},
"oklch": {
"l": 0.58818,
"c": 0.18652,
"h": 314.2
},
"luminance": 0.18097
}Semantic roles & 50–950 ramp
primary
#A452C8
secondary
#B1D4A2
accent
#DB4D78
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B15
muted
#827C83