#A74AC7#A74AC7
#A74AC7 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 58.1% C 0.198 H 316.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A74AC7 |
|---|---|
| RGB | rgb(167, 74, 199) |
| HSL | hsl(285, 53%, 54%) |
| HSV | hsv(285, 63%, 78%) |
| CMYK | cmyk(16.1%, 62.8%, 0%, 22%) |
| CIE-LAB | lab(48.56, 57.15, -48.78) |
| CIE-LCH | lch(48.56, 75.13, 319.52°) |
| OKLab | oklab(58.12% 0.1436 -0.1367) |
| OKLCH | oklch(58.12% 0.198 316.4) |
| XYZ | xyz(28.6924, 17.2376, 55.8376) |
| Luminance | 0.1724 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 5.07
Purply
#983FB2
ΔE00 5.09
Mediumorchid
#BA55D3
ΔE00 5.18
Lightish Purple
#A552E6
ΔE00 5.38
Darkorchid
#9932CC
ΔE00 5.97
Deep Lavender
#8D5EB7
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A74AC7 #6AC74A
analogous
#684AC7 #A74AC7 #C74AA8
triadic
#A74AC7 #C7A74A #4AC7A7
tetradic
#A74AC7 #C7684A #6AC74A #4AA8C7
square
#A74AC7 #C7684A #6AC74A #4AA8C7
split-complementary
#A74AC7 #A8C74A #4AC768
monochromatic
#5F2473 #8532A2 #A74AC7 #BE79D5 #D4A7E4
Accessibility & contrast
On white
4.72
#A74AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#A74AC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A74AC7
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A74AC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A74AC7 | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F6ECB
Deuteranopia (green-blind)
#4B76C4
Tritanopia (blue-blind)
#A56082
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #a74ac7; /* rgb */ color: rgb(167, 74, 199); /* oklch */ color: oklch(58.1% 0.198 316.4);
Tailwind
colors: {
custom: {
50: '#c482d8',
500: '#a74ac7',
950: '#000000',
},
}SCSS
$custom: #a74ac7; $custom-light: #c482d8; $custom-dark: #000000;
JSON
{
"hex": "#a74ac7",
"rgb": {
"r": 167,
"g": 74,
"b": 199
},
"hsl": {
"h": 284.64,
"s": 52.743,
"l": 53.529
},
"oklch": {
"l": 0.58116,
"c": 0.19826,
"h": 316.4
},
"luminance": 0.17237
}Semantic roles & 50–950 ramp
primary
#A74AC7
secondary
#A9D19C
accent
#DC4C71
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B15
muted
#827C83