#7A4EAE#7A4EAE
#7A4EAE is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.8% C 0.150 H 302.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7A4EAE |
|---|---|
| RGB | rgb(122, 78, 174) |
| HSL | hsl(268, 38%, 49%) |
| HSV | hsv(268, 55%, 68%) |
| CMYK | cmyk(29.9%, 55.2%, 0%, 31.8%) |
| CIE-LAB | lab(42.22, 38.24, -44.64) |
| CIE-LCH | lch(42.22, 58.78, 310.58°) |
| OKLab | oklab(51.79% 0.0807 -0.1259) |
| OKLCH | oklch(51.79% 0.15 302.7) |
| XYZ | xyz(18.3887, 12.6423, 41.5076) |
| Luminance | 0.1264 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 1.34
Deep Lavender
#8D5EB7
ΔE00 6.12
Purply
#983FB2
ΔE00 6.63
Bluey Purple
#6241C7
ΔE00 7.37
Light Indigo
#6D5ACF
ΔE00 7.48
Iris
#6258C4
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A4EAE #82AE4E
analogous
#4E52AE #7A4EAE #AA4EAE
triadic
#7A4EAE #AE7A4E #4EAE7A
tetradic
#7A4EAE #AE4E52 #82AE4E #4EAEAA
square
#7A4EAE #AE4E52 #82AE4E #4EAEAA
split-complementary
#7A4EAE #AEAA4E #52AE4E
monochromatic
#3F2859 #5C3B84 #7A4EAE #9977C2 #B9A1D5
Accessibility & contrast
On white
5.95
#7A4EAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#7A4EAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A4EAE
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A4EAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A4EAE | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A63B1
Deuteranopia (green-blind)
#3963AC
Tritanopia (blue-blind)
#706076
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7a4eae; /* rgb */ color: rgb(122, 78, 174); /* oklch */ color: oklch(51.8% 0.150 302.7);
Tailwind
colors: {
custom: {
50: '#a381c7',
500: '#7a4eae',
950: '#000000',
},
}SCSS
$custom: #7a4eae; $custom-light: #a381c7; $custom-dark: #000000;
JSON
{
"hex": "#7a4eae",
"rgb": {
"r": 122,
"g": 78,
"b": 174
},
"hsl": {
"h": 267.5,
"s": 38.095,
"l": 49.412
},
"oklch": {
"l": 0.51794,
"c": 0.14959,
"h": 302.7
},
"luminance": 0.12642
}Semantic roles & 50–950 ramp
primary
#7A4EAE
secondary
#AEC296
accent
#CE5A99
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82