#A74AA2#A74AA2
#A74AA2 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.1% C 0.164 H 329.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A74AA2 |
|---|---|
| RGB | rgb(167, 74, 162) |
| HSL | hsl(303, 39%, 47%) |
| HSV | hsv(303, 56%, 65%) |
| CMYK | cmyk(0%, 55.7%, 3%, 34.5%) |
| CIE-LAB | lab(46.61, 50.09, -30.22) |
| CIE-LCH | lch(46.61, 58.50, 328.90°) |
| OKLab | oklab(56.06% 0.1412 -0.0829) |
| OKLCH | oklch(56.06% 0.164 329.6) |
| XYZ | xyz(24.9065, 15.7233, 35.8985) |
| Luminance | 0.1572 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.02
Medium Purple
#9E43A2
ΔE00 2.91
Purpleish
#98568D
ΔE00 5.89
Purplish
#94568C
ΔE00 6.26
Purply
#983FB2
ΔE00 6.27
Purpley Pink
#C83CB9
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A74AA2 #4AA74F
analogous
#7E4AA7 #A74AA2 #A74A73
triadic
#A74AA2 #A2A74A #4AA2A7
tetradic
#A74AA2 #A77E4A #4AA74F #4A73A7
square
#A74AA2 #A77E4A #4AA74F #4A73A7
split-complementary
#A74AA2 #73A74A #4AA77E
monochromatic
#522450 #7D3779 #A74AA2 #BF6FBB #D299CF
Accessibility & contrast
On white
5.07
#A74AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#A74AA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A74AA2
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A74AA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A74AA2 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4366A5
Deuteranopia (green-blind)
#61739F
Tritanopia (blue-blind)
#AD536F
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #a74aa2; /* rgb */ color: rgb(167, 74, 162); /* oklch */ color: oklch(56.1% 0.164 329.6);
Tailwind
colors: {
custom: {
50: '#c381be',
500: '#a74aa2',
950: '#000000',
},
}SCSS
$custom: #a74aa2; $custom-light: #c381be; $custom-dark: #000000;
JSON
{
"hex": "#a74aa2",
"rgb": {
"r": 167,
"g": 74,
"b": 162
},
"hsl": {
"h": 303.226,
"s": 38.589,
"l": 47.255
},
"oklch": {
"l": 0.56063,
"c": 0.16371,
"h": 329.6
},
"luminance": 0.15722
}Semantic roles & 50–950 ramp
primary
#A74AA2
secondary
#8EBE91
accent
#CF6059
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81