#7A5AAE#7A5AAE
#7A5AAE is a mid, vivid violet. Relative luminance 0.145; OKLCH L 53.8% C 0.130 H 299.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7A5AAE |
|---|---|
| RGB | rgb(122, 90, 174) |
| HSL | hsl(263, 34%, 52%) |
| HSV | hsv(263, 48%, 68%) |
| CMYK | cmyk(29.9%, 48.3%, 0%, 31.8%) |
| CIE-LAB | lab(44.95, 31.27, -40.29) |
| CIE-LCH | lch(44.95, 51.00, 307.82°) |
| OKLab | oklab(53.82% 0.0643 -0.1132) |
| OKLCH | oklch(53.82% 0.13 299.6) |
| XYZ | xyz(19.3204, 14.5058, 41.8182) |
| Luminance | 0.1451 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.79
Deep Lavender
#8D5EB7
ΔE00 4.30
Light Indigo
#6D5ACF
ΔE00 6.77
Slate Blue
#6A5ACD
ΔE00 6.87
Iris
#6258C4
ΔE00 7.00
Amethyst
#9B5FC0
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A5AAE #8EAE5A
analogous
#5A64AE #7A5AAE #A45AAE
triadic
#7A5AAE #AE7A5A #5AAE7A
tetradic
#7A5AAE #AE5A64 #8EAE5A #5AAEA4
square
#7A5AAE #AE5A64 #8EAE5A #5AAEA4
split-complementary
#7A5AAE #AEA45A #64AE5A
monochromatic
#412F5F #5D4388 #7A5AAE #9B83C2 #BCACD6
Accessibility & contrast
On white
5.38
#7A5AAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#7A5AAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A5AAE
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A5AAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A5AAE | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#406AB1
Deuteranopia (green-blind)
#476AAC
Tritanopia (blue-blind)
#70697C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7a5aae; /* rgb */ color: rgb(122, 90, 174); /* oklch */ color: oklch(53.8% 0.130 299.6);
Tailwind
colors: {
custom: {
50: '#a389c6',
500: '#7a5aae',
950: '#000000',
},
}SCSS
$custom: #7a5aae; $custom-light: #a389c6; $custom-dark: #000000;
JSON
{
"hex": "#7a5aae",
"rgb": {
"r": 122,
"g": 90,
"b": 174
},
"hsl": {
"h": 262.857,
"s": 34.146,
"l": 51.765
},
"oklch": {
"l": 0.53822,
"c": 0.13024,
"h": 299.6
},
"luminance": 0.14506
}Semantic roles & 50–950 ramp
primary
#7A5AAE
secondary
#B6C49F
accent
#CA5EA1
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0B13
muted
#7F7C82