#A74CE8#A74CE8
#A74CE8 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.5% C 0.228 H 307.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #A74CE8 |
|---|---|
| RGB | rgb(167, 76, 232) |
| HSL | hsl(275, 77%, 60%) |
| HSV | hsv(275, 67%, 91%) |
| CMYK | cmyk(28%, 67.2%, 0%, 9%) |
| CIE-LAB | lab(50.93, 63.21, -63.78) |
| CIE-LCH | lch(50.93, 89.79, 314.75°) |
| OKLab | oklab(60.48% 0.1395 -0.1807) |
| OKLCH | oklch(60.48% 0.228 307.7) |
| XYZ | xyz(33.0832, 19.2110, 78.2935) |
| Luminance | 0.1921 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.12
Lighter Purple
#A55AF4
ΔE00 3.60
Electric Purple
#AA23FF
ΔE00 5.31
Neon Purple
#BC13FE
ΔE00 5.41
Purpley
#8756E4
ΔE00 5.71
Bright Purple
#BE03FD
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A74CE8 #8DE84C
analogous
#594CE8 #A74CE8 #E84CDB
triadic
#A74CE8 #E8A74C #4CE8A7
tetradic
#A74CE8 #E8594C #8DE84C #4CDBE8
square
#A74CE8 #E8594C #8DE84C #4CDBE8
split-complementary
#A74CE8 #DBE84C #4CE859
monochromatic
#6915A4 #8B1CDB #A74CE8 #C282EF #DCB8F6
Accessibility & contrast
On white
4.34
#A74CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#A74CE8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A74CE8
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A74CE8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A74CE8 | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#277AE5
Tritanopia (blue-blind)
#9D6E94
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #a74ce8; /* rgb */ color: rgb(167, 76, 232); /* oklch */ color: oklch(60.5% 0.228 307.7);
Tailwind
colors: {
custom: {
50: '#c684f0',
500: '#a74ce8',
950: '#000000',
},
}SCSS
$custom: #a74ce8; $custom-light: #c684f0; $custom-dark: #000000;
JSON
{
"hex": "#a74ce8",
"rgb": {
"r": 167,
"g": 76,
"b": 232
},
"hsl": {
"h": 275,
"s": 77.228,
"l": 60.392
},
"oklch": {
"l": 0.6048,
"c": 0.22823,
"h": 307.7
},
"luminance": 0.19211
}Semantic roles & 50–950 ramp
primary
#A74CE8
secondary
#C3E6AA
accent
#D90C62
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130B17
muted
#827C85