#A451BA#A451BA
#A451BA is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.9% C 0.174 H 318.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #A451BA |
|---|---|
| RGB | rgb(164, 81, 186) |
| HSL | hsl(287, 43%, 52%) |
| HSV | hsv(287, 56%, 73%) |
| CMYK | cmyk(11.8%, 56.5%, 0%, 27.1%) |
| CIE-LAB | lab(48.67, 50.42, -41.10) |
| CIE-LCH | lch(48.67, 65.05, 320.81°) |
| OKLab | oklab(57.88% 0.1308 -0.1144) |
| OKLCH | oklch(57.88% 0.174 318.8) |
| XYZ | xyz(27.1140, 17.3236, 48.3604) |
| Luminance | 0.1732 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.00
Purply
#983FB2
ΔE00 5.22
Medium Purple
#9E43A2
ΔE00 5.36
Deep Lavender
#8D5EB7
ΔE00 5.52
Mediumorchid
#BA55D3
ΔE00 5.58
Ugly Purple
#A442A0
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A451BA #67BA51
analogous
#7051BA #A451BA #BA519B
triadic
#A451BA #BAA451 #51BAA4
tetradic
#A451BA #BA7051 #67BA51 #519BBA
square
#A451BA #BA7051 #67BA51 #519BBA
split-complementary
#A451BA #9BBA51 #51BA70
monochromatic
#5A2968 #813A93 #A451BA #BB7DCB #D2A9DD
Accessibility & contrast
On white
4.70
#A451BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#A451BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A451BA
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A451BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A451BA | 1.00 | 4.70 | 4.46 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A6EBD
Deuteranopia (green-blind)
#5776B7
Tritanopia (blue-blind)
#A4617E
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #a451ba; /* rgb */ color: rgb(164, 81, 186); /* oklch */ color: oklch(57.9% 0.174 318.8);
Tailwind
colors: {
custom: {
50: '#c186cf',
500: '#a451ba',
950: '#000000',
},
}SCSS
$custom: #a451ba; $custom-light: #c186cf; $custom-dark: #000000;
JSON
{
"hex": "#a451ba",
"rgb": {
"r": 164,
"g": 81,
"b": 186
},
"hsl": {
"h": 287.429,
"s": 43.21,
"l": 52.353
},
"oklch": {
"l": 0.57876,
"c": 0.17376,
"h": 318.8
},
"luminance": 0.17323
}Semantic roles & 50–950 ramp
primary
#A451BA
secondary
#A6CA9D
accent
#D3556F
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82