#A74FD9#A74FD9
#A74FD9 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.8% C 0.209 H 311.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #A74FD9 |
|---|---|
| RGB | rgb(167, 79, 217) |
| HSL | hsl(278, 64%, 58%) |
| HSV | hsv(278, 64%, 85%) |
| CMYK | cmyk(23%, 63.6%, 0%, 14.9%) |
| CIE-LAB | lab(50.47, 58.59, -56.02) |
| CIE-LCH | lch(50.47, 81.06, 316.28°) |
| OKLab | oklab(59.85% 0.1373 -0.1579) |
| OKLCH | oklch(59.85% 0.209 311) |
| XYZ | xyz(31.2544, 18.8179, 67.6180) |
| Luminance | 0.1882 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.22
Mediumorchid
#BA55D3
ΔE00 4.66
Lighter Purple
#A55AF4
ΔE00 4.96
Amethyst
#9B5FC0
ΔE00 5.30
Purpley
#8756E4
ΔE00 6.46
Neon Purple
#BC13FE
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A74FD9 #81D94F
analogous
#624FD9 #A74FD9 #D94FC6
triadic
#A74FD9 #D9A74F #4FD9A7
tetradic
#A74FD9 #D9624F #81D94F #4FC6D9
square
#A74FD9 #D9624F #81D94F #4FC6D9
split-complementary
#A74FD9 #C6D94F #4FD962
monochromatic
#661F8F #8A2AC1 #A74FD9 #C081E4 #D9B4EF
Accessibility & contrast
On white
4.41
#A74FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#A74FD9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A74FD9
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A74FD9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A74FD9 | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#407AD6
Tritanopia (blue-blind)
#A16A8D
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #a74fd9; /* rgb */ color: rgb(167, 79, 217); /* oklch */ color: oklch(59.8% 0.209 311.0);
Tailwind
colors: {
custom: {
50: '#c586e5',
500: '#a74fd9',
950: '#000000',
},
}SCSS
$custom: #a74fd9; $custom-light: #c586e5; $custom-dark: #000000;
JSON
{
"hex": "#a74fd9",
"rgb": {
"r": 167,
"g": 79,
"b": 217
},
"hsl": {
"h": 278.261,
"s": 64.486,
"l": 58.039
},
"oklch": {
"l": 0.59845,
"c": 0.20926,
"h": 311
},
"luminance": 0.18817
}Semantic roles & 50–950 ramp
primary
#A74FD9
secondary
#BADDA6
accent
#E7407D
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84