#A74FE2#A74FE2
#A74FE2 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.4% C 0.218 H 308.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #A74FE2 |
|---|---|
| RGB | rgb(167, 79, 226) |
| HSL | hsl(276, 72%, 60%) |
| HSV | hsv(276, 65%, 89%) |
| CMYK | cmyk(26.1%, 65%, 0%, 11.4%) |
| CIE-LAB | lab(51.04, 60.54, -60.23) |
| CIE-LCH | lch(51.04, 85.39, 315.15°) |
| OKLab | oklab(60.43% 0.1368 -0.1703) |
| OKLCH | oklch(60.43% 0.218 308.8) |
| XYZ | xyz(32.4570, 19.2990, 73.9520) |
| Luminance | 0.1930 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.97
Lighter Purple
#A55AF4
ΔE00 3.78
Mediumorchid
#BA55D3
ΔE00 5.27
Purpley
#8756E4
ΔE00 5.89
Neon Purple
#BC13FE
ΔE00 6.08
Electric Purple
#AA23FF
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A74FE2 #8AE24F
analogous
#5D4FE2 #A74FE2 #E24FD4
triadic
#A74FE2 #E2A74F #4FE2A7
tetradic
#A74FE2 #E25D4F #8AE24F #4FD4E2
square
#A74FE2 #E25D4F #8AE24F #4FD4E2
split-complementary
#A74FE2 #D4E24F #4FE25D
monochromatic
#681A9D #8B22D1 #A74FE2 #C184EB #DCB8F3
Accessibility & contrast
On white
4.32
#A74FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#A74FE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A74FE2
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A74FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A74FE2 | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E6
Deuteranopia (green-blind)
#357BDF
Tritanopia (blue-blind)
#9E6E92
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #a74fe2; /* rgb */ color: rgb(167, 79, 226); /* oklch */ color: oklch(60.4% 0.218 308.8);
Tailwind
colors: {
custom: {
50: '#c586ec',
500: '#a74fe2',
950: '#000000',
},
}SCSS
$custom: #a74fe2; $custom-light: #c586ec; $custom-dark: #000000;
JSON
{
"hex": "#a74fe2",
"rgb": {
"r": 167,
"g": 79,
"b": 226
},
"hsl": {
"h": 275.918,
"s": 71.707,
"l": 59.804
},
"oklch": {
"l": 0.60429,
"c": 0.21838,
"h": 308.8
},
"luminance": 0.19298
}Semantic roles & 50–950 ramp
primary
#A74FE2
secondary
#C1E3AA
accent
#EE3982
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84