#A74BB5#A74BB5
#A74BB5 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.2% C 0.180 H 322.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #A74BB5 |
|---|---|
| RGB | rgb(167, 75, 181) |
| HSL | hsl(292, 42%, 50%) |
| HSV | hsv(292, 59%, 71%) |
| CMYK | cmyk(7.7%, 58.6%, 0%, 29%) |
| CIE-LAB | lab(47.73, 53.13, -39.64) |
| CIE-LCH | lch(47.73, 66.28, 323.27°) |
| OKLab | oklab(57.19% 0.1419 -0.1101) |
| OKLCH | oklch(57.19% 0.18 322.2) |
| XYZ | xyz(26.7920, 16.5852, 45.4971) |
| Luminance | 0.1658 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 4.02
Ugly Purple
#A442A0
ΔE00 4.26
Purply
#983FB2
ΔE00 4.55
Amethyst
#9B5FC0
ΔE00 5.64
Purpley Pink
#C83CB9
ΔE00 5.96
Mediumorchid
#BA55D3
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A74BB5 #59B54B
analogous
#724BB5 #A74BB5 #B54B8E
triadic
#A74BB5 #B5A74B #4BB5A7
tetradic
#A74BB5 #B5724B #59B54B #4B8EB5
square
#A74BB5 #B5724B #59B54B #4B8EB5
split-complementary
#A74BB5 #8EB54B #4BB572
monochromatic
#57275F #7F398A #A74BB5 #BC76C7 #D1A2D9
Accessibility & contrast
On white
4.86
#A74BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#A74BB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A74BB5
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A74BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A74BB5 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#376AB8
Deuteranopia (green-blind)
#5875B2
Tritanopia (blue-blind)
#A95A79
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #a74bb5; /* rgb */ color: rgb(167, 75, 181); /* oklch */ color: oklch(57.2% 0.180 322.2);
Tailwind
colors: {
custom: {
50: '#c482cb',
500: '#a74bb5',
950: '#000000',
},
}SCSS
$custom: #a74bb5; $custom-light: #c482cb; $custom-dark: #000000;
JSON
{
"hex": "#a74bb5",
"rgb": {
"r": 167,
"g": 75,
"b": 181
},
"hsl": {
"h": 292.075,
"s": 41.732,
"l": 50.196
},
"oklch": {
"l": 0.57195,
"c": 0.17954,
"h": 322.2
},
"luminance": 0.16584
}Semantic roles & 50–950 ramp
primary
#A74BB5
secondary
#9CC696
accent
#D25667
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82