#A74FE4#A74FE4
#A74FE4 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.6% C 0.220 H 308.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A74FE4 |
|---|---|
| RGB | rgb(167, 79, 228) |
| HSL | hsl(275, 73%, 60%) |
| HSV | hsv(275, 65%, 89%) |
| CMYK | cmyk(26.8%, 65.4%, 0%, 10.6%) |
| CIE-LAB | lab(51.16, 60.98, -61.15) |
| CIE-LCH | lch(51.16, 86.36, 314.92°) |
| OKLab | oklab(60.56% 0.1366 -0.173) |
| OKLCH | oklch(60.56% 0.22 308.3) |
| XYZ | xyz(32.7331, 19.4094, 75.4058) |
| Luminance | 0.1941 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.76
Lighter Purple
#A55AF4
ΔE00 3.54
Mediumorchid
#BA55D3
ΔE00 5.44
Purpley
#8756E4
ΔE00 5.81
Neon Purple
#BC13FE
ΔE00 5.99
Electric Purple
#AA23FF
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A74FE4 #8CE44F
analogous
#5C4FE4 #A74FE4 #E44FD7
triadic
#A74FE4 #E4A74F #4FE4A7
tetradic
#A74FE4 #E45C4F #8CE44F #4FD7E4
square
#A74FE4 #E45C4F #8CE44F #4FD7E4
split-complementary
#A74FE4 #D7E44F #4FE45C
monochromatic
#6919A0 #8B21D5 #A74FE4 #C284EC #DCB9F4
Accessibility & contrast
On white
4.30
#A74FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#A74FE4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A74FE4
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A74FE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A74FE4 | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#327BE1
Tritanopia (blue-blind)
#9E6E93
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #a74fe4; /* rgb */ color: rgb(167, 79, 228); /* oklch */ color: oklch(60.6% 0.220 308.3);
Tailwind
colors: {
custom: {
50: '#c586ed',
500: '#a74fe4',
950: '#000000',
},
}SCSS
$custom: #a74fe4; $custom-light: #c586ed; $custom-dark: #000000;
JSON
{
"hex": "#a74fe4",
"rgb": {
"r": 167,
"g": 79,
"b": 228
},
"hsl": {
"h": 275.436,
"s": 73.399,
"l": 60.196
},
"oklch": {
"l": 0.60562,
"c": 0.22041,
"h": 308.3
},
"luminance": 0.19409
}Semantic roles & 50–950 ramp
primary
#A74FE4
secondary
#C2E4AB
accent
#D61061
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84