#A74ABB#A74ABB
#A74ABB is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.4% C 0.187 H 320.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #A74ABB |
|---|---|
| RGB | rgb(167, 74, 187) |
| HSL | hsl(289, 45%, 51%) |
| HSV | hsv(289, 60%, 73%) |
| CMYK | cmyk(10.7%, 60.4%, 0%, 26.7%) |
| CIE-LAB | lab(47.88, 54.76, -42.90) |
| CIE-LCH | lch(47.88, 69.56, 321.92°) |
| OKLab | oklab(57.41% 0.1434 -0.1195) |
| OKLCH | oklch(57.41% 0.187 320.2) |
| XYZ | xyz(27.3537, 16.7022, 48.7871) |
| Luminance | 0.1670 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.35
Medium Purple
#9E43A2
ΔE00 4.79
Ugly Purple
#A442A0
ΔE00 5.17
Amethyst
#9B5FC0
ΔE00 5.36
Mediumorchid
#BA55D3
ΔE00 5.95
Purpley Pink
#C83CB9
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A74ABB #5EBB4A
analogous
#6E4ABB #A74ABB #BB4A96
triadic
#A74ABB #BBA74A #4ABBA7
tetradic
#A74ABB #BB6E4A #5EBB4A #4A96BB
square
#A74ABB #BB6E4A #5EBB4A #4A96BB
split-complementary
#A74ABB #96BB4A #4ABB6E
monochromatic
#5A2665 #813791 #A74ABB #BD76CC #D2A3DC
Accessibility & contrast
On white
4.84
#A74ABB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#A74ABB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A74ABB
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A74ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A74ABB | 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)
#306BBF
Deuteranopia (green-blind)
#5475B8
Tritanopia (blue-blind)
#A85C7C
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #a74abb; /* rgb */ color: rgb(167, 74, 187); /* oklch */ color: oklch(57.4% 0.187 320.2);
Tailwind
colors: {
custom: {
50: '#c482d0',
500: '#a74abb',
950: '#000000',
},
}SCSS
$custom: #a74abb; $custom-light: #c482d0; $custom-dark: #000000;
JSON
{
"hex": "#a74abb",
"rgb": {
"r": 167,
"g": 74,
"b": 187
},
"hsl": {
"h": 289.381,
"s": 45.382,
"l": 51.176
},
"oklch": {
"l": 0.57408,
"c": 0.18671,
"h": 320.2
},
"luminance": 0.16701
}Semantic roles & 50–950 ramp
primary
#A74ABB
secondary
#A0C997
accent
#D5536A
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82