#7A5BB0#7A5BB0
#7A5BB0 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.1% C 0.131 H 298.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7A5BB0 |
|---|---|
| RGB | rgb(122, 91, 176) |
| HSL | hsl(262, 35%, 52%) |
| HSV | hsv(262, 48%, 69%) |
| CMYK | cmyk(30.7%, 48.3%, 0%, 31%) |
| CIE-LAB | lab(45.30, 31.20, -40.92) |
| CIE-LCH | lch(45.30, 51.46, 307.33°) |
| OKLab | oklab(54.12% 0.0632 -0.1151) |
| OKLCH | oklch(54.12% 0.131 298.8) |
| XYZ | xyz(19.6017, 14.7542, 42.8810) |
| Luminance | 0.1475 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.18
Deep Lavender
#8D5EB7
ΔE00 4.24
Light Indigo
#6D5ACF
ΔE00 6.43
Slate Blue
#6A5ACD
ΔE00 6.53
Iris
#6258C4
ΔE00 6.73
Amethyst
#9B5FC0
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A5BB0 #91B05B
analogous
#5B67B0 #7A5BB0 #A45BB0
triadic
#7A5BB0 #B07A5B #5BB07A
tetradic
#7A5BB0 #B05B67 #91B05B #5BB0A4
square
#7A5BB0 #B05B67 #91B05B #5BB0A4
split-complementary
#7A5BB0 #B0A45B #67B05B
monochromatic
#412F62 #5D438B #7A5BB0 #9B84C4 #BDAED8
Accessibility & contrast
On white
5.32
#7A5BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#7A5BB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A5BB0
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A5BB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A5BB0 | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#406BB3
Deuteranopia (green-blind)
#476AAE
Tritanopia (blue-blind)
#6F6B7D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7a5bb0; /* rgb */ color: rgb(122, 91, 176); /* oklch */ color: oklch(54.1% 0.131 298.8);
Tailwind
colors: {
custom: {
50: '#a38ac8',
500: '#7a5bb0',
950: '#000000',
},
}SCSS
$custom: #7a5bb0; $custom-light: #a38ac8; $custom-dark: #000000;
JSON
{
"hex": "#7a5bb0",
"rgb": {
"r": 122,
"g": 91,
"b": 176
},
"hsl": {
"h": 261.882,
"s": 34.979,
"l": 52.353
},
"oklch": {
"l": 0.54116,
"c": 0.13127,
"h": 298.8
},
"luminance": 0.14754
}Semantic roles & 50–950 ramp
primary
#7A5BB0
secondary
#B8C6A1
accent
#CB5DA3
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82