#A74BB8#A74BB8
#A74BB8 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.4% C 0.182 H 321.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #A74BB8 |
|---|---|
| RGB | rgb(167, 75, 184) |
| HSL | hsl(291, 43%, 51%) |
| HSV | hsv(291, 59%, 72%) |
| CMYK | cmyk(9.2%, 59.2%, 0%, 27.8%) |
| CIE-LAB | lab(47.89, 53.71, -41.14) |
| CIE-LCH | lch(47.89, 67.65, 322.55°) |
| OKLab | oklab(57.36% 0.142 -0.1144) |
| OKLCH | oklch(57.36% 0.182 321.1) |
| XYZ | xyz(27.1032, 16.7096, 47.1357) |
| Luminance | 0.1671 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 4.44
Purply
#983FB2
ΔE00 4.50
Ugly Purple
#A442A0
ΔE00 4.75
Amethyst
#9B5FC0
ΔE00 5.39
Purpley Pink
#C83CB9
ΔE00 6.08
Mediumorchid
#BA55D3
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A74BB8 #5CB84B
analogous
#704BB8 #A74BB8 #B84B92
triadic
#A74BB8 #B8A74B #4BB8A7
tetradic
#A74BB8 #B8704B #5CB84B #4B92B8
square
#A74BB8 #B8704B #5CB84B #4B92B8
split-complementary
#A74BB8 #92B84B #4BB870
monochromatic
#592762 #80388E #A74BB8 #BC77C9 #D2A3DB
Accessibility & contrast
On white
4.84
#A74BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#A74BB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A74BB8
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A74BB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A74BB8 | 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)
#346BBB
Deuteranopia (green-blind)
#5675B5
Tritanopia (blue-blind)
#A85C7A
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #a74bb8; /* rgb */ color: rgb(167, 75, 184); /* oklch */ color: oklch(57.4% 0.182 321.1);
Tailwind
colors: {
custom: {
50: '#c482ce',
500: '#a74bb8',
950: '#000000',
},
}SCSS
$custom: #a74bb8; $custom-light: #c482ce; $custom-dark: #000000;
JSON
{
"hex": "#a74bb8",
"rgb": {
"r": 167,
"g": 75,
"b": 184
},
"hsl": {
"h": 290.642,
"s": 43.426,
"l": 50.784
},
"oklch": {
"l": 0.57362,
"c": 0.18238,
"h": 321.1
},
"luminance": 0.16708
}Semantic roles & 50–950 ramp
primary
#A74BB8
secondary
#9FC897
accent
#D35568
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82