#A452CB#A452CB
#A452CB is a mid, vivid purple. Relative luminance 0.182; OKLCH L 59.0% C 0.190 H 313.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A452CB |
|---|---|
| RGB | rgb(164, 82, 203) |
| HSL | hsl(281, 54%, 56%) |
| HSV | hsv(281, 60%, 80%) |
| CMYK | cmyk(19.2%, 59.6%, 0%, 20.4%) |
| CIE-LAB | lab(49.79, 53.45, -49.14) |
| CIE-LCH | lch(49.79, 72.61, 317.40°) |
| OKLab | oklab(59% 0.1302 -0.1379) |
| OKLCH | oklch(59% 0.19 313.4) |
| XYZ | xyz(29.1048, 18.2397, 58.4758) |
| Luminance | 0.1824 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.68
Lightish Purple
#A552E6
ΔE00 4.20
Mediumorchid
#BA55D3
ΔE00 4.54
Deep Lavender
#8D5EB7
ΔE00 5.64
Purply
#983FB2
ΔE00 6.47
Lighter Purple
#A55AF4
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A452CB #79CB52
analogous
#6752CB #A452CB #CB52B5
triadic
#A452CB #CBA452 #52CBA4
tetradic
#A452CB #CB6752 #79CB52 #52B5CB
square
#A452CB #CB6752 #79CB52 #52B5CB
split-complementary
#A452CB #B5CB52 #52CB67
monochromatic
#61267D #8534AC #A452CB #BD81D9 #D6B0E7
Accessibility & contrast
On white
4.52
#A452CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#A452CB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A452CB
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A452CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A452CB | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A72CF
Deuteranopia (green-blind)
#4C78C8
Tritanopia (blue-blind)
#A06887
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #a452cb; /* rgb */ color: rgb(164, 82, 203); /* oklch */ color: oklch(59.0% 0.190 313.4);
Tailwind
colors: {
custom: {
50: '#c287db',
500: '#a452cb',
950: '#000000',
},
}SCSS
$custom: #a452cb; $custom-light: #c287db; $custom-dark: #000000;
JSON
{
"hex": "#a452cb",
"rgb": {
"r": 164,
"g": 82,
"b": 203
},
"hsl": {
"h": 280.661,
"s": 53.778,
"l": 55.882
},
"oklch": {
"l": 0.58997,
"c": 0.18963,
"h": 313.4
},
"luminance": 0.18239
}Semantic roles & 50–950 ramp
primary
#A452CB
secondary
#B3D5A3
accent
#DD4B7A
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83