#7A5BB2#7A5BB2
#7A5BB2 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.2% C 0.134 H 298.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #7A5BB2 |
|---|---|
| RGB | rgb(122, 91, 178) |
| HSL | hsl(261, 36%, 53%) |
| HSV | hsv(261, 49%, 70%) |
| CMYK | cmyk(31.5%, 48.9%, 0%, 30.2%) |
| CIE-LAB | lab(45.41, 31.73, -41.91) |
| CIE-LCH | lch(45.41, 52.57, 307.12°) |
| OKLab | oklab(54.24% 0.0634 -0.118) |
| OKLCH | oklch(54.24% 0.134 298.3) |
| XYZ | xyz(19.8011, 14.8339, 43.9309) |
| Luminance | 0.1483 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.30
Deep Lavender
#8D5EB7
ΔE00 4.25
Light Indigo
#6D5ACF
ΔE00 6.06
Slate Blue
#6A5ACD
ΔE00 6.18
Iris
#6258C4
ΔE00 6.45
Amethyst
#9B5FC0
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A5BB2 #93B25B
analogous
#5B67B2 #7A5BB2 #A55BB2
triadic
#7A5BB2 #B27A5B #5BB27A
tetradic
#7A5BB2 #B25B67 #93B25B #5BB2A5
square
#7A5BB2 #B25B67 #93B25B #5BB2A5
split-complementary
#7A5BB2 #B2A55B #67B25B
monochromatic
#422F64 #5D428D #7A5BB2 #9C85C6 #BEAED9
Accessibility & contrast
On white
5.29
#7A5BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#7A5BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A5BB2
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A5BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A5BB2 | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E6CB5
Deuteranopia (green-blind)
#456BB0
Tritanopia (blue-blind)
#6E6B7E
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7a5bb2; /* rgb */ color: rgb(122, 91, 178); /* oklch */ color: oklch(54.2% 0.134 298.3);
Tailwind
colors: {
custom: {
50: '#a38ac9',
500: '#7a5bb2',
950: '#000000',
},
}SCSS
$custom: #7a5bb2; $custom-light: #a38ac9; $custom-dark: #000000;
JSON
{
"hex": "#7a5bb2",
"rgb": {
"r": 122,
"g": 91,
"b": 178
},
"hsl": {
"h": 261.379,
"s": 36.1,
"l": 52.745
},
"oklch": {
"l": 0.54235,
"c": 0.13394,
"h": 298.3
},
"luminance": 0.14834
}Semantic roles & 50–950 ramp
primary
#7A5BB2
secondary
#BAC7A2
accent
#CC5CA4
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82