#7E5BBF#7E5BBF
#7E5BBF is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.4% C 0.152 H 297.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5BBF |
|---|---|
| RGB | rgb(126, 91, 191) |
| HSL | hsl(261, 44%, 55%) |
| HSV | hsv(261, 52%, 75%) |
| CMYK | cmyk(34%, 52.4%, 0%, 25.1%) |
| CIE-LAB | lab(46.55, 36.20, -47.64) |
| CIE-LCH | lch(46.55, 59.83, 307.23°) |
| OKLab | oklab(55.42% 0.0697 -0.1346) |
| OKLCH | oklch(55.42% 0.152 297.4) |
| XYZ | xyz(21.7469, 15.6791, 51.1607) |
| Luminance | 0.1568 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.20
Light Indigo
#6D5ACF
ΔE00 4.66
Royal Purple
#7851A9
ΔE00 4.69
Slate Blue
#6A5ACD
ΔE00 4.98
Purpley
#8756E4
ΔE00 5.78
Iris
#6258C4
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5BBF #9CBF5B
analogous
#5B6ABF #7E5BBF #B05BBF
triadic
#7E5BBF #BF7E5B #5BBF7E
tetradic
#7E5BBF #BF5B6A #9CBF5B #5BBFB0
square
#7E5BBF #BF5B6A #9CBF5B #5BBFB0
split-complementary
#7E5BBF #BFB05B #6ABF5B
monochromatic
#452D73 #603E9F #7E5BBF #A187D0 #C3B3E1
Accessibility & contrast
On white
5.08
#7E5BBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#7E5BBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E5BBF
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5BBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E5BBF | 1.00 | 5.08 | 4.14 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#356FC2
Deuteranopia (green-blind)
#3E6DBD
Tritanopia (blue-blind)
#706F84
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7e5bbf; /* rgb */ color: rgb(126, 91, 191); /* oklch */ color: oklch(55.4% 0.152 297.4);
Tailwind
colors: {
custom: {
50: '#a78ad3',
500: '#7e5bbf',
950: '#000000',
},
}SCSS
$custom: #7e5bbf; $custom-light: #a78ad3; $custom-dark: #000000;
JSON
{
"hex": "#7e5bbf",
"rgb": {
"r": 126,
"g": 91,
"b": 191
},
"hsl": {
"h": 261,
"s": 43.86,
"l": 55.294
},
"oklch": {
"l": 0.55422,
"c": 0.15159,
"h": 297.4
},
"luminance": 0.15679
}Semantic roles & 50–950 ramp
primary
#7E5BBF
secondary
#C1D0A6
accent
#D454A7
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83