#A74BB4#A74BB4
#A74BB4 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.1% C 0.179 H 322.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A74BB4 |
|---|---|
| RGB | rgb(167, 75, 180) |
| HSL | hsl(293, 41%, 50%) |
| HSV | hsv(293, 58%, 71%) |
| CMYK | cmyk(7.2%, 58.3%, 0%, 29.4%) |
| CIE-LAB | lab(47.68, 52.93, -39.14) |
| CIE-LCH | lch(47.68, 65.83, 323.52°) |
| OKLab | oklab(57.14% 0.1418 -0.1086) |
| OKLCH | oklch(57.14% 0.179 322.5) |
| XYZ | xyz(26.6898, 16.5443, 44.9587) |
| Luminance | 0.1654 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.89
Ugly Purple
#A442A0
ΔE00 4.10
Purply
#983FB2
ΔE00 4.58
Amethyst
#9B5FC0
ΔE00 5.74
Purpley Pink
#C83CB9
ΔE00 5.92
Barney
#AC1DB8
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A74BB4 #58B44B
analogous
#724BB4 #A74BB4 #B44B8D
triadic
#A74BB4 #B4A74B #4BB4A7
tetradic
#A74BB4 #B4724B #58B44B #4B8DB4
square
#A74BB4 #B4724B #58B44B #4B8DB4
split-complementary
#A74BB4 #8DB44B #4BB472
monochromatic
#57275E #7F3989 #A74BB4 #BC76C6 #D1A1D8
Accessibility & contrast
On white
4.87
#A74BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#A74BB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A74BB4
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A74BB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A74BB4 | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#386AB7
Deuteranopia (green-blind)
#5875B1
Tritanopia (blue-blind)
#A95A78
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #a74bb4; /* rgb */ color: rgb(167, 75, 180); /* oklch */ color: oklch(57.1% 0.179 322.5);
Tailwind
colors: {
custom: {
50: '#c482cb',
500: '#a74bb4',
950: '#000000',
},
}SCSS
$custom: #a74bb4; $custom-light: #c482cb; $custom-dark: #000000;
JSON
{
"hex": "#a74bb4",
"rgb": {
"r": 167,
"g": 75,
"b": 180
},
"hsl": {
"h": 292.571,
"s": 41.176,
"l": 50
},
"oklch": {
"l": 0.57139,
"c": 0.17859,
"h": 322.5
},
"luminance": 0.16543
}Semantic roles & 50–950 ramp
primary
#A74BB4
secondary
#9CC596
accent
#D15766
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82