#7A5BA7#7A5BA7
#7A5BA7 is a mid, moderate violet. Relative luminance 0.144; OKLCH L 53.6% C 0.119 H 301.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #7A5BA7 |
|---|---|
| RGB | rgb(122, 91, 167) |
| HSL | hsl(264, 30%, 51%) |
| HSV | hsv(264, 46%, 65%) |
| CMYK | cmyk(26.9%, 45.5%, 0%, 34.5%) |
| CIE-LAB | lab(44.81, 28.88, -36.38) |
| CIE-LCH | lch(44.81, 46.46, 308.44°) |
| OKLab | oklab(53.6% 0.062 -0.1018) |
| OKLCH | oklch(53.6% 0.119 301.3) |
| XYZ | xyz(18.7406, 14.4097, 38.3458) |
| Luminance | 0.1441 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.27
Deep Lavender
#8D5EB7
ΔE00 4.59
Dark Lavender
#856798
ΔE00 7.33
Amethyst
#9B5FC0
ΔE00 7.66
Light Indigo
#6D5ACF
ΔE00 8.17
Iris
#6258C4
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A5BA7 #88A75B
analogous
#5B62A7 #7A5BA7 #A05BA7
triadic
#7A5BA7 #A77A5B #5BA77A
tetradic
#7A5BA7 #A75B62 #88A75B #5BA7A0
square
#7A5BA7 #A75B62 #88A75B #5BA7A0
split-complementary
#7A5BA7 #A7A05B #62A75B
monochromatic
#402F58 #5D4580 #7A5BA7 #9A83BC #BBABD2
Accessibility & contrast
On white
5.41
#7A5BA7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#7A5BA7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A5BA7
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A5BA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A5BA7 | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#466AAA
Deuteranopia (green-blind)
#4D6AA5
Tritanopia (blue-blind)
#726879
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7a5ba7; /* rgb */ color: rgb(122, 91, 167); /* oklch */ color: oklch(53.6% 0.119 301.3);
Tailwind
colors: {
custom: {
50: '#a28ac1',
500: '#7a5ba7',
950: '#000000',
},
}SCSS
$custom: #7a5ba7; $custom-light: #a28ac1; $custom-dark: #000000;
JSON
{
"hex": "#7a5ba7",
"rgb": {
"r": 122,
"g": 91,
"b": 167
},
"hsl": {
"h": 264.474,
"s": 30.159,
"l": 50.588
},
"oklch": {
"l": 0.53599,
"c": 0.11921,
"h": 301.3
},
"luminance": 0.1441
}Semantic roles & 50–950 ramp
primary
#7A5BA7
secondary
#B2C09E
accent
#C6619D
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#0F0B12
muted
#7F7C81