#7A5AAA#7A5AAA
#7A5AAA is a mid, vivid violet. Relative luminance 0.144; OKLCH L 53.6% C 0.125 H 300.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #7A5AAA |
|---|---|
| RGB | rgb(122, 90, 170) |
| HSL | hsl(264, 32%, 51%) |
| HSV | hsv(264, 47%, 67%) |
| CMYK | cmyk(28.2%, 47.1%, 0%, 33.3%) |
| CIE-LAB | lab(44.73, 30.24, -38.28) |
| CIE-LCH | lch(44.73, 48.79, 308.31°) |
| OKLab | oklab(53.59% 0.0638 -0.1074) |
| OKLCH | oklch(53.59% 0.125 300.7) |
| XYZ | xyz(18.9362, 14.3521, 39.7950) |
| Luminance | 0.1435 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.79
Deep Lavender
#8D5EB7
ΔE00 4.43
Amethyst
#9B5FC0
ΔE00 7.51
Light Indigo
#6D5ACF
ΔE00 7.54
Slate Blue
#6A5ACD
ΔE00 7.61
Iris
#6258C4
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A5AAA #8AAA5A
analogous
#5A62AA #7A5AAA #A25AAA
triadic
#7A5AAA #AA7A5A #5AAA7A
tetradic
#7A5AAA #AA5A62 #8AAA5A #5AAAA2
square
#7A5AAA #AA5A62 #8AAA5A #5AAAA2
split-complementary
#7A5AAA #AAA25A #62AA5A
monochromatic
#402F5B #5D4483 #7A5AAA #9B82BF #BBABD4
Accessibility & contrast
On white
5.43
#7A5AAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#7A5AAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A5AAA
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A5AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A5AAA | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4269AD
Deuteranopia (green-blind)
#4A69A8
Tritanopia (blue-blind)
#71687A
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7a5aaa; /* rgb */ color: rgb(122, 90, 170); /* oklch */ color: oklch(53.6% 0.125 300.7);
Tailwind
colors: {
custom: {
50: '#a289c4',
500: '#7a5aaa',
950: '#000000',
},
}SCSS
$custom: #7a5aaa; $custom-light: #a289c4; $custom-dark: #000000;
JSON
{
"hex": "#7a5aaa",
"rgb": {
"r": 122,
"g": 90,
"b": 170
},
"hsl": {
"h": 264,
"s": 32,
"l": 50.98
},
"oklch": {
"l": 0.5359,
"c": 0.12491,
"h": 300.7
},
"luminance": 0.14352
}Semantic roles & 50–950 ramp
primary
#7A5AAA
secondary
#B3C29E
accent
#C8609E
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0B12
muted
#7F7C81