#7B5EB0#7B5EB0
#7B5EB0 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 54.8% C 0.127 H 298.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #7B5EB0 |
|---|---|
| RGB | rgb(123, 94, 176) |
| HSL | hsl(261, 34%, 53%) |
| HSV | hsv(261, 47%, 69%) |
| CMYK | cmyk(30.1%, 46.6%, 0%, 31%) |
| CIE-LAB | lab(46.11, 29.70, -39.62) |
| CIE-LCH | lch(46.11, 49.52, 306.86°) |
| OKLab | oklab(54.75% 0.0603 -0.1112) |
| OKLCH | oklch(54.75% 0.127 298.4) |
| XYZ | xyz(20.0057, 15.3508, 42.9749) |
| Luminance | 0.1535 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.01
Royal Purple
#7851A9
ΔE00 4.08
Light Indigo
#6D5ACF
ΔE00 6.72
Slate Blue
#6A5ACD
ΔE00 6.83
Amethyst
#9B5FC0
ΔE00 7.01
Iris
#6258C4
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B5EB0 #93B05E
analogous
#5E6AB0 #7B5EB0 #A45EB0
triadic
#7B5EB0 #B07B5E #5EB07B
tetradic
#7B5EB0 #B05E6A #93B05E #5EB0A4
square
#7B5EB0 #B05E6A #93B05E #5EB0A4
split-complementary
#7B5EB0 #B0A45E #6AB05E
monochromatic
#423163 #5E458C #7B5EB0 #9D87C4 #BEB0D8
Accessibility & contrast
On white
5.16
#7B5EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#7B5EB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B5EB0
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B5EB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B5EB0 | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#456DB3
Deuteranopia (green-blind)
#4B6CAE
Tritanopia (blue-blind)
#706D7E
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7b5eb0; /* rgb */ color: rgb(123, 94, 176); /* oklch */ color: oklch(54.8% 0.127 298.4);
Tailwind
colors: {
custom: {
50: '#a38cc8',
500: '#7b5eb0',
950: '#000000',
},
}SCSS
$custom: #7b5eb0; $custom-light: #a38cc8; $custom-dark: #000000;
JSON
{
"hex": "#7b5eb0",
"rgb": {
"r": 123,
"g": 94,
"b": 176
},
"hsl": {
"h": 261.22,
"s": 34.167,
"l": 52.941
},
"oklch": {
"l": 0.54751,
"c": 0.12653,
"h": 298.4
},
"luminance": 0.15351
}Semantic roles & 50–950 ramp
primary
#7B5EB0
secondary
#BAC7A3
accent
#CA5EA4
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82