#7A4EAA#7A4EAA
#7A4EAA is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.5% C 0.145 H 303.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #7A4EAA |
|---|---|
| RGB | rgb(122, 78, 170) |
| HSL | hsl(269, 37%, 49%) |
| HSV | hsv(269, 54%, 67%) |
| CMYK | cmyk(28.2%, 54.1%, 0%, 33.3%) |
| CIE-LAB | lab(41.98, 37.23, -42.65) |
| CIE-LCH | lch(41.98, 56.62, 311.12°) |
| OKLab | oklab(51.54% 0.0805 -0.1201) |
| OKLCH | oklch(51.54% 0.145 303.8) |
| XYZ | xyz(18.0045, 12.4887, 39.4845) |
| Luminance | 0.1249 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 1.01
Deep Lavender
#8D5EB7
ΔE00 6.16
Purply
#983FB2
ΔE00 6.58
Bluey Purple
#6241C7
ΔE00 7.93
Rebeccapurple
#663399
ΔE00 7.96
Iris
#6258C4
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A4EAA #7EAA4E
analogous
#4E50AA #7A4EAA #A84EAA
triadic
#7A4EAA #AA7A4E #4EAA7A
tetradic
#7A4EAA #AA4E50 #7EAA4E #4EAAA8
square
#7A4EAA #AA4E50 #7EAA4E #4EAAA8
split-complementary
#7A4EAA #AAA84E #50AA4E
monochromatic
#3E2856 #5C3B80 #7A4EAA #9975C0 #B89FD3
Accessibility & contrast
On white
6.00
#7A4EAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#7A4EAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A4EAA
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A4EAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A4EAA | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E62AD
Deuteranopia (green-blind)
#3C63A8
Tritanopia (blue-blind)
#715F74
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7a4eaa; /* rgb */ color: rgb(122, 78, 170); /* oklch */ color: oklch(51.5% 0.145 303.8);
Tailwind
colors: {
custom: {
50: '#a381c4',
500: '#7a4eaa',
950: '#000000',
},
}SCSS
$custom: #7a4eaa; $custom-light: #a381c4; $custom-dark: #000000;
JSON
{
"hex": "#7a4eaa",
"rgb": {
"r": 122,
"g": 78,
"b": 170
},
"hsl": {
"h": 268.696,
"s": 37.097,
"l": 48.627
},
"oklch": {
"l": 0.51543,
"c": 0.14461,
"h": 303.8
},
"luminance": 0.12489
}Semantic roles & 50–950 ramp
primary
#7A4EAA
secondary
#ABC094
accent
#CD5B96
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82