#A45ABB#A45ABB
#A45ABB is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.2% C 0.160 H 317.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #A45ABB |
|---|---|
| RGB | rgb(164, 90, 187) |
| HSL | hsl(286, 42%, 54%) |
| HSV | hsv(286, 52%, 73%) |
| CMYK | cmyk(12.3%, 51.9%, 0%, 26.7%) |
| CIE-LAB | lab(50.45, 46.03, -38.87) |
| CIE-LCH | lch(50.45, 60.25, 319.82°) |
| OKLab | oklab(59.2% 0.1186 -0.108) |
| OKLCH | oklch(59.2% 0.16 317.7) |
| XYZ | xyz(27.9344, 18.7937, 49.1601) |
| Luminance | 0.1879 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.59
Deep Lavender
#8D5EB7
ΔE00 4.90
Mediumorchid
#BA55D3
ΔE00 5.00
Deep Lilac
#966EBD
ΔE00 6.39
Soft Purple
#A66FB5
ΔE00 6.45
Pinky Purple
#C94CBE
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A45ABB #71BB5A
analogous
#745ABB #A45ABB #BB5AA2
triadic
#A45ABB #BBA45A #5ABBA4
tetradic
#A45ABB #BB745A #71BB5A #5AA2BB
square
#A45ABB #BB745A #71BB5A #5AA2BB
split-complementary
#A45ABB #A2BB5A #5ABB74
monochromatic
#5E2D6D #843F99 #A45ABB #BC85CD #D4B1DF
Accessibility & contrast
On white
4.41
#A45ABB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#A45ABB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A45ABB
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A45ABB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A45ABB | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4773BE
Deuteranopia (green-blind)
#5E7AB8
Tritanopia (blue-blind)
#A46882
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #a45abb; /* rgb */ color: rgb(164, 90, 187); /* oklch */ color: oklch(59.2% 0.160 317.7);
Tailwind
colors: {
custom: {
50: '#c18bd0',
500: '#a45abb',
950: '#000000',
},
}SCSS
$custom: #a45abb; $custom-light: #c18bd0; $custom-dark: #000000;
JSON
{
"hex": "#a45abb",
"rgb": {
"r": 164,
"g": 90,
"b": 187
},
"hsl": {
"h": 285.773,
"s": 41.631,
"l": 54.314
},
"oklch": {
"l": 0.59202,
"c": 0.16043,
"h": 317.7
},
"luminance": 0.18793
}Semantic roles & 50–950 ramp
primary
#A45ABB
secondary
#AECDA4
accent
#D15674
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82