#A456BB#A456BB
#A456BB is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.6% C 0.167 H 318.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #A456BB |
|---|---|
| RGB | rgb(164, 86, 187) |
| HSL | hsl(286, 43%, 54%) |
| HSV | hsv(286, 54%, 73%) |
| CMYK | cmyk(12.3%, 54%, 0%, 26.7%) |
| CIE-LAB | lab(49.66, 48.10, -40.11) |
| CIE-LCH | lch(49.66, 62.63, 320.18°) |
| OKLab | oklab(58.63% 0.1241 -0.1116) |
| OKLCH | oklch(58.63% 0.167 318.1) |
| XYZ | xyz(27.6060, 18.1370, 49.0507) |
| Luminance | 0.1814 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.08
Deep Lavender
#8D5EB7
ΔE00 5.06
Mediumorchid
#BA55D3
ΔE00 5.10
Medium Purple
#9E43A2
ΔE00 6.30
Purply
#983FB2
ΔE00 6.35
Ugly Purple
#A442A0
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A456BB #6DBB56
analogous
#7156BB #A456BB #BB569F
triadic
#A456BB #BBA456 #56BBA4
tetradic
#A456BB #BB7156 #6DBB56 #569FBB
square
#A456BB #BB7156 #6DBB56 #569FBB
split-complementary
#A456BB #9FBB56 #56BB71
monochromatic
#5D2B6B #823D97 #A456BB #BB82CD #D3ADDE
Accessibility & contrast
On white
4.54
#A456BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#A456BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A456BB
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A456BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A456BB | 1.00 | 4.54 | 4.63 | 4.63 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4171BE
Deuteranopia (green-blind)
#5A79B8
Tritanopia (blue-blind)
#A46580
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #a456bb; /* rgb */ color: rgb(164, 86, 187); /* oklch */ color: oklch(58.6% 0.167 318.1);
Tailwind
colors: {
custom: {
50: '#c189d0',
500: '#a456bb',
950: '#000000',
},
}SCSS
$custom: #a456bb; $custom-light: #c189d0; $custom-dark: #000000;
JSON
{
"hex": "#a456bb",
"rgb": {
"r": 164,
"g": 86,
"b": 187
},
"hsl": {
"h": 286.337,
"s": 42.616,
"l": 53.529
},
"oklch": {
"l": 0.58625,
"c": 0.1669,
"h": 318.1
},
"luminance": 0.18136
}Semantic roles & 50–950 ramp
primary
#A456BB
secondary
#ABCCA1
accent
#D25572
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82