#A751AA#A751AA
#A751AA is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.4% C 0.160 H 326.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #A751AA |
|---|---|
| RGB | rgb(167, 81, 170) |
| HSL | hsl(298, 35%, 49%) |
| HSV | hsv(298, 52%, 67%) |
| CMYK | cmyk(1.8%, 52.4%, 0%, 33.3%) |
| CIE-LAB | lab(48.27, 48.13, -32.35) |
| CIE-LCH | lch(48.27, 57.99, 326.09°) |
| OKLab | oklab(57.4% 0.1327 -0.089) |
| OKLCH | oklch(57.4% 0.16 326.1) |
| XYZ | xyz(26.1339, 17.0040, 39.9280) |
| Luminance | 0.1700 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.81
Medium Purple
#9E43A2
ΔE00 4.14
Purpley Pink
#C83CB9
ΔE00 6.06
Amethyst
#9B5FC0
ΔE00 6.29
Purply
#983FB2
ΔE00 6.45
Purpleish
#98568D
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A751AA #54AA51
analogous
#7B51AA #A751AA #AA5181
triadic
#A751AA #AAA751 #51AAA7
tetradic
#A751AA #AA7B51 #54AA51 #5181AA
square
#A751AA #AA7B51 #54AA51 #5181AA
split-complementary
#A751AA #81AA51 #51AA7B
monochromatic
#562A57 #7E3D81 #A751AA #BD79BF #D1A2D3
Accessibility & contrast
On white
4.77
#A751AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#A751AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A751AA
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A751AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A751AA | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#476CAD
Deuteranopia (green-blind)
#6276A7
Tritanopia (blue-blind)
#AB5B76
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #a751aa; /* rgb */ color: rgb(167, 81, 170); /* oklch */ color: oklch(57.4% 0.160 326.1);
Tailwind
colors: {
custom: {
50: '#c386c3',
500: '#a751aa',
950: '#000000',
},
}SCSS
$custom: #a751aa; $custom-light: #c386c3; $custom-dark: #000000;
JSON
{
"hex": "#a751aa",
"rgb": {
"r": 167,
"g": 81,
"b": 170
},
"hsl": {
"h": 297.978,
"s": 35.458,
"l": 49.216
},
"oklch": {
"l": 0.57405,
"c": 0.15978,
"h": 326.1
},
"luminance": 0.17003
}Semantic roles & 50–950 ramp
primary
#A751AA
secondary
#98C097
accent
#CB5C60
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B12
muted
#827C81