#A74FC7#A74FC7
#A74FC7 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.7% C 0.191 H 316.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #A74FC7 |
|---|---|
| RGB | rgb(167, 79, 199) |
| HSL | hsl(284, 52%, 55%) |
| HSV | hsv(284, 60%, 78%) |
| CMYK | cmyk(16.1%, 60.3%, 0%, 22%) |
| CIE-LAB | lab(49.41, 54.81, -47.41) |
| CIE-LCH | lch(49.41, 72.47, 319.14°) |
| OKLab | oklab(58.74% 0.1376 -0.1327) |
| OKLCH | oklch(58.74% 0.191 316) |
| XYZ | xyz(29.0396, 17.9320, 55.9533) |
| Luminance | 0.1793 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.18
Mediumorchid
#BA55D3
ΔE00 4.45
Lightish Purple
#A552E6
ΔE00 5.10
Purply
#983FB2
ΔE00 5.87
Deep Lavender
#8D5EB7
ΔE00 6.10
Darkorchid
#9932CC
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A74FC7 #6FC74F
analogous
#6B4FC7 #A74FC7 #C74FAB
triadic
#A74FC7 #C7A74F #4FC7A7
tetradic
#A74FC7 #C76B4F #6FC74F #4FABC7
square
#A74FC7 #C76B4F #6FC74F #4FABC7
split-complementary
#A74FC7 #ABC74F #4FC76B
monochromatic
#612676 #8734A4 #A74FC7 #BE7DD6 #D5ACE5
Accessibility & contrast
On white
4.58
#A74FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#A74FC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A74FC7
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A74FC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A74FC7 | 1.00 | 4.58 | 4.59 | 4.59 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B70CB
Deuteranopia (green-blind)
#4F78C4
Tritanopia (blue-blind)
#A56484
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #a74fc7; /* rgb */ color: rgb(167, 79, 199); /* oklch */ color: oklch(58.7% 0.191 316.0);
Tailwind
colors: {
custom: {
50: '#c485d8',
500: '#a74fc7',
950: '#000000',
},
}SCSS
$custom: #a74fc7; $custom-light: #c485d8; $custom-dark: #000000;
JSON
{
"hex": "#a74fc7",
"rgb": {
"r": 167,
"g": 79,
"b": 199
},
"hsl": {
"h": 284,
"s": 51.724,
"l": 54.51
},
"oklch": {
"l": 0.58736,
"c": 0.19115,
"h": 316
},
"luminance": 0.17931
}Semantic roles & 50–950 ramp
primary
#A74FC7
secondary
#ADD2A0
accent
#DB4D73
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83