#A74EE2#A74EE2
#A74EE2 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.3% C 0.220 H 308.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A74EE2 |
|---|---|
| RGB | rgb(167, 78, 226) |
| HSL | hsl(276, 72%, 60%) |
| HSV | hsv(276, 65%, 89%) |
| CMYK | cmyk(26.1%, 65.5%, 0%, 11.4%) |
| CIE-LAB | lab(50.87, 61.00, -60.49) |
| CIE-LCH | lch(50.87, 85.91, 315.24°) |
| OKLab | oklab(60.31% 0.1379 -0.171) |
| OKLCH | oklch(60.31% 0.22 308.9) |
| XYZ | xyz(32.3855, 19.1558, 73.9281) |
| Luminance | 0.1915 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.11
Lighter Purple
#A55AF4
ΔE00 3.93
Mediumorchid
#BA55D3
ΔE00 5.36
Purpley
#8756E4
ΔE00 5.90
Neon Purple
#BC13FE
ΔE00 5.93
Electric Purple
#AA23FF
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A74EE2 #89E24E
analogous
#5D4EE2 #A74EE2 #E24ED3
triadic
#A74EE2 #E2A74E #4EE2A7
tetradic
#A74EE2 #E25D4E #89E24E #4ED3E2
square
#A74EE2 #E25D4E #89E24E #4ED3E2
split-complementary
#A74EE2 #D3E24E #4EE25D
monochromatic
#681A9C #8B22D1 #A74EE2 #C183EB #DBB7F3
Accessibility & contrast
On white
4.35
#A74EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#A74EE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A74EE2
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A74EE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A74EE2 | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E6
Deuteranopia (green-blind)
#347ADF
Tritanopia (blue-blind)
#9E6D92
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #a74ee2; /* rgb */ color: rgb(167, 78, 226); /* oklch */ color: oklch(60.3% 0.220 308.9);
Tailwind
colors: {
custom: {
50: '#c585ec',
500: '#a74ee2',
950: '#000000',
},
}SCSS
$custom: #a74ee2; $custom-light: #c585ec; $custom-dark: #000000;
JSON
{
"hex": "#a74ee2",
"rgb": {
"r": 167,
"g": 78,
"b": 226
},
"hsl": {
"h": 276.081,
"s": 71.845,
"l": 59.608
},
"oklch": {
"l": 0.6031,
"c": 0.21968,
"h": 308.9
},
"luminance": 0.19155
}Semantic roles & 50–950 ramp
primary
#A74EE2
secondary
#C0E3A9
accent
#EF3982
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84