#A451AA#A451AA
#A451AA is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.0% C 0.158 H 324.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #A451AA |
|---|---|
| RGB | rgb(164, 81, 170) |
| HSL | hsl(296, 35%, 49%) |
| HSV | hsv(296, 52%, 67%) |
| CMYK | cmyk(3.5%, 52.4%, 0%, 33.3%) |
| CIE-LAB | lab(47.86, 47.27, -33.02) |
| CIE-LCH | lch(47.86, 57.66, 325.06°) |
| OKLab | oklab(57.02% 0.1291 -0.091) |
| OKLCH | oklch(57.02% 0.158 324.8) |
| XYZ | xyz(25.5074, 16.6810, 39.8986) |
| Luminance | 0.1668 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.70
Medium Purple
#9E43A2
ΔE00 3.80
Purply
#983FB2
ΔE00 5.96
Amethyst
#9B5FC0
ΔE00 6.00
Purpley Pink
#C83CB9
ΔE00 6.55
Purpleish
#98568D
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A451AA #57AA51
analogous
#7851AA #A451AA #AA5184
triadic
#A451AA #AAA451 #51AAA4
tetradic
#A451AA #AA7851 #57AA51 #5184AA
square
#A451AA #AA7851 #57AA51 #5184AA
split-complementary
#A451AA #84AA51 #51AA78
monochromatic
#542A57 #7C3D81 #A451AA #BA79BF #D0A2D3
Accessibility & contrast
On white
4.84
#A451AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#A451AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A451AA
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A451AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A451AA | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#466BAD
Deuteranopia (green-blind)
#5F75A7
Tritanopia (blue-blind)
#A75C76
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #a451aa; /* rgb */ color: rgb(164, 81, 170); /* oklch */ color: oklch(57.0% 0.158 324.8);
Tailwind
colors: {
custom: {
50: '#c185c3',
500: '#a451aa',
950: '#000000',
},
}SCSS
$custom: #a451aa; $custom-light: #c185c3; $custom-dark: #000000;
JSON
{
"hex": "#a451aa",
"rgb": {
"r": 164,
"g": 81,
"b": 170
},
"hsl": {
"h": 295.955,
"s": 35.458,
"l": 49.216
},
"oklch": {
"l": 0.57018,
"c": 0.15798,
"h": 324.8
},
"luminance": 0.1668
}Semantic roles & 50–950 ramp
primary
#A451AA
secondary
#99C097
accent
#CB5C64
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B12
muted
#827C81