#A74FBB#A74FBB
#A74FBB is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.0% C 0.179 H 319.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #A74FBB |
|---|---|
| RGB | rgb(167, 79, 187) |
| HSL | hsl(289, 44%, 52%) |
| HSV | hsv(289, 58%, 73%) |
| CMYK | cmyk(10.7%, 57.8%, 0%, 26.7%) |
| CIE-LAB | lab(48.76, 52.38, -41.52) |
| CIE-LCH | lch(48.76, 66.84, 321.60°) |
| OKLab | oklab(58.04% 0.1371 -0.1155) |
| OKLCH | oklch(58.04% 0.179 319.9) |
| XYZ | xyz(27.7009, 17.3965, 48.9028) |
| Luminance | 0.1739 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.50
Purply
#983FB2
ΔE00 5.25
Mediumorchid
#BA55D3
ΔE00 5.31
Medium Purple
#9E43A2
ΔE00 5.33
Ugly Purple
#A442A0
ΔE00 5.62
Deep Lavender
#8D5EB7
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A74FBB #63BB4F
analogous
#714FBB #A74FBB #BB4F99
triadic
#A74FBB #BBA74F #4FBBA7
tetradic
#A74FBB #BB714F #63BB4F #4F99BB
square
#A74FBB #BB714F #63BB4F #4F99BB
split-complementary
#A74FBB #99BB4F #4FBB71
monochromatic
#5C2868 #833994 #A74FBB #BD7BCC #D3A7DD
Accessibility & contrast
On white
4.69
#A74FBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#A74FBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A74FBB
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A74FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A74FBB | 1.00 | 4.69 | 4.48 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#386EBE
Deuteranopia (green-blind)
#5777B8
Tritanopia (blue-blind)
#A8607E
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #a74fbb; /* rgb */ color: rgb(167, 79, 187); /* oklch */ color: oklch(58.0% 0.179 319.9);
Tailwind
colors: {
custom: {
50: '#c485d0',
500: '#a74fbb',
950: '#000000',
},
}SCSS
$custom: #a74fbb; $custom-light: #c485d0; $custom-dark: #000000;
JSON
{
"hex": "#a74fbb",
"rgb": {
"r": 167,
"g": 79,
"b": 187
},
"hsl": {
"h": 288.889,
"s": 44.262,
"l": 52.157
},
"oklch": {
"l": 0.58044,
"c": 0.17927,
"h": 319.9
},
"luminance": 0.17395
}Semantic roles & 50–950 ramp
primary
#A74FBB
secondary
#A4CA9B
accent
#D4546C
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82