#A452BB#A452BB
#A452BB is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.1% C 0.173 H 318.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A452BB |
|---|---|
| RGB | rgb(164, 82, 187) |
| HSL | hsl(287, 44%, 53%) |
| HSV | hsv(287, 56%, 73%) |
| CMYK | cmyk(12.3%, 56.1%, 0%, 26.7%) |
| CIE-LAB | lab(48.90, 50.12, -41.31) |
| CIE-LCH | lch(48.90, 64.95, 320.51°) |
| OKLab | oklab(58.07% 0.1295 -0.115) |
| OKLCH | oklch(58.07% 0.173 318.4) |
| XYZ | xyz(27.2956, 17.5160, 48.9472) |
| Luminance | 0.1752 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.75
Deep Lavender
#8D5EB7
ΔE00 5.38
Mediumorchid
#BA55D3
ΔE00 5.39
Purply
#983FB2
ΔE00 5.45
Medium Purple
#9E43A2
ΔE00 5.64
Ugly Purple
#A442A0
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A452BB #69BB52
analogous
#6F52BB #A452BB #BB529D
triadic
#A452BB #BBA452 #52BBA4
tetradic
#A452BB #BB6F52 #69BB52 #529DBB
square
#A452BB #BB6F52 #69BB52 #529DBB
split-complementary
#A452BB #9DBB52 #52BB6F
monochromatic
#5B2969 #813B95 #A452BB #BB7ECC #D2AADE
Accessibility & contrast
On white
4.66
#A452BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#A452BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #A452BB
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A452BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A452BB | 1.00 | 4.66 | 4.50 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B6FBE
Deuteranopia (green-blind)
#5777B8
Tritanopia (blue-blind)
#A4627F
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #a452bb; /* rgb */ color: rgb(164, 82, 187); /* oklch */ color: oklch(58.1% 0.173 318.4);
Tailwind
colors: {
custom: {
50: '#c186d0',
500: '#a452bb',
950: '#000000',
},
}SCSS
$custom: #a452bb; $custom-light: #c186d0; $custom-dark: #000000;
JSON
{
"hex": "#a452bb",
"rgb": {
"r": 164,
"g": 82,
"b": 187
},
"hsl": {
"h": 286.857,
"s": 43.568,
"l": 52.745
},
"oklch": {
"l": 0.58068,
"c": 0.17321,
"h": 318.4
},
"luminance": 0.17515
}Semantic roles & 50–950 ramp
primary
#A452BB
secondary
#A8CB9E
accent
#D35470
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82