#A74AAA#A74AAA
#A74AAA is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.5% C 0.171 H 326.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A74AAA |
|---|---|
| RGB | rgb(167, 74, 170) |
| HSL | hsl(298, 39%, 48%) |
| HSV | hsv(298, 56%, 67%) |
| CMYK | cmyk(1.8%, 56.5%, 0%, 33.3%) |
| CIE-LAB | lab(47.00, 51.53, -34.34) |
| CIE-LCH | lch(47.00, 61.93, 326.32°) |
| OKLab | oklab(56.47% 0.1422 -0.0947) |
| OKLCH | oklch(56.47% 0.171 326.3) |
| XYZ | xyz(25.6403, 16.0168, 39.7634) |
| Luminance | 0.1601 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.51
Medium Purple
#9E43A2
ΔE00 2.79
Purply
#983FB2
ΔE00 5.18
Purpley Pink
#C83CB9
ΔE00 5.91
Barney
#AC1DB8
ΔE00 6.83
Amethyst
#9B5FC0
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A74AAA #4DAA4A
analogous
#774AAA #A74AAA #AA4A7D
triadic
#A74AAA #AAA74A #4AAAA7
tetradic
#A74AAA #AA774A #4DAA4A #4A7DAA
square
#A74AAA #AA774A #4DAA4A #4A7DAA
split-complementary
#A74AAA #7DAA4A #4AAA77
monochromatic
#532555 #7D377F #A74AAA #BE70C1 #D29BD3
Accessibility & contrast
On white
5.00
#A74AAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#A74AAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A74AAA
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A74AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A74AAA | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E68AD
Deuteranopia (green-blind)
#5D74A7
Tritanopia (blue-blind)
#AB5673
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #a74aaa; /* rgb */ color: rgb(167, 74, 170); /* oklch */ color: oklch(56.5% 0.171 326.3);
Tailwind
colors: {
custom: {
50: '#c481c3',
500: '#a74aaa',
950: '#000000',
},
}SCSS
$custom: #a74aaa; $custom-light: #c481c3; $custom-dark: #000000;
JSON
{
"hex": "#a74aaa",
"rgb": {
"r": 167,
"g": 74,
"b": 170
},
"hsl": {
"h": 298.125,
"s": 39.344,
"l": 47.843
},
"oklch": {
"l": 0.56474,
"c": 0.17085,
"h": 326.3
},
"luminance": 0.16015
}Semantic roles & 50–950 ramp
primary
#A74AAA
secondary
#91C090
accent
#CF595C
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B12
muted
#827C81