#A74BB2#A74BB2
#A74BB2 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.0% C 0.177 H 323.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A74BB2 |
|---|---|
| RGB | rgb(167, 75, 178) |
| HSL | hsl(294, 41%, 50%) |
| HSV | hsv(294, 58%, 70%) |
| CMYK | cmyk(6.2%, 57.9%, 0%, 30.2%) |
| CIE-LAB | lab(47.58, 52.55, -38.13) |
| CIE-LCH | lch(47.58, 64.93, 324.04°) |
| OKLab | oklab(57.03% 0.1416 -0.1057) |
| OKLCH | oklch(57.03% 0.177 323.3) |
| XYZ | xyz(26.4875, 16.4634, 43.8934) |
| Luminance | 0.1646 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.64
Ugly Purple
#A442A0
ΔE00 3.78
Purply
#983FB2
ΔE00 4.67
Purpley Pink
#C83CB9
ΔE00 5.87
Amethyst
#9B5FC0
ΔE00 5.94
Barney
#AC1DB8
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A74BB2 #56B24B
analogous
#744BB2 #A74BB2 #B24B8A
triadic
#A74BB2 #B2A74B #4BB2A7
tetradic
#A74BB2 #B2744B #56B24B #4B8AB2
square
#A74BB2 #B2744B #56B24B #4B8AB2
split-complementary
#A74BB2 #8AB24B #4BB274
monochromatic
#56275C #7F3987 #A74BB2 #BC75C5 #D1A0D7
Accessibility & contrast
On white
4.89
#A74BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#A74BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A74BB2
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A74BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A74BB2 | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A6AB5
Deuteranopia (green-blind)
#5975AF
Tritanopia (blue-blind)
#AA5977
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #a74bb2; /* rgb */ color: rgb(167, 75, 178); /* oklch */ color: oklch(57.0% 0.177 323.3);
Tailwind
colors: {
custom: {
50: '#c482c9',
500: '#a74bb2',
950: '#000000',
},
}SCSS
$custom: #a74bb2; $custom-light: #c482c9; $custom-dark: #000000;
JSON
{
"hex": "#a74bb2",
"rgb": {
"r": 167,
"g": 75,
"b": 178
},
"hsl": {
"h": 293.592,
"s": 40.711,
"l": 49.608
},
"oklch": {
"l": 0.5703,
"c": 0.17671,
"h": 323.3
},
"luminance": 0.16462
}Semantic roles & 50–950 ramp
primary
#A74BB2
secondary
#9AC495
accent
#D15764
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82