#7A5CB3#7A5CB3
#7A5CB3 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.5% C 0.134 H 297.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #7A5CB3 |
|---|---|
| RGB | rgb(122, 92, 179) |
| HSL | hsl(261, 36%, 53%) |
| HSV | hsv(261, 49%, 70%) |
| CMYK | cmyk(31.8%, 48.6%, 0%, 29.8%) |
| CIE-LAB | lab(45.70, 31.40, -42.04) |
| CIE-LCH | lch(45.70, 52.47, 306.76°) |
| OKLab | oklab(54.47% 0.0622 -0.1183) |
| OKLCH | oklch(54.47% 0.134 297.7) |
| XYZ | xyz(19.9879, 15.0463, 44.4903) |
| Luminance | 0.1505 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.65
Deep Lavender
#8D5EB7
ΔE00 4.24
Light Indigo
#6D5ACF
ΔE00 5.92
Slate Blue
#6A5ACD
ΔE00 6.04
Iris
#6258C4
ΔE00 6.36
Amethyst
#9B5FC0
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A5CB3 #95B35C
analogous
#5C69B3 #7A5CB3 #A65CB3
triadic
#7A5CB3 #B37A5C #5CB37A
tetradic
#7A5CB3 #B35C69 #95B35C #5CB3A6
square
#7A5CB3 #B35C69 #95B35C #5CB3A6
split-complementary
#7A5CB3 #B3A65C #69B35C
monochromatic
#422F65 #5D438F #7A5CB3 #9C86C6 #BEAFDA
Accessibility & contrast
On white
5.24
#7A5CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#7A5CB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A5CB3
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A5CB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A5CB3 | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F6CB6
Deuteranopia (green-blind)
#466BB1
Tritanopia (blue-blind)
#6E6C7F
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7a5cb3; /* rgb */ color: rgb(122, 92, 179); /* oklch */ color: oklch(54.5% 0.134 297.7);
Tailwind
colors: {
custom: {
50: '#a38bca',
500: '#7a5cb3',
950: '#000000',
},
}SCSS
$custom: #7a5cb3; $custom-light: #a38bca; $custom-dark: #000000;
JSON
{
"hex": "#7a5cb3",
"rgb": {
"r": 122,
"g": 92,
"b": 179
},
"hsl": {
"h": 260.69,
"s": 36.402,
"l": 53.137
},
"oklch": {
"l": 0.54471,
"c": 0.13366,
"h": 297.7
},
"luminance": 0.15047
}Semantic roles & 50–950 ramp
primary
#7A5CB3
secondary
#BBC8A3
accent
#CC5BA5
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82