#7E5BDC#7E5BDC
#7E5BDC is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.3% C 0.188 H 291.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5BDC |
|---|---|
| RGB | rgb(126, 91, 220) |
| HSL | hsl(256, 65%, 61%) |
| HSV | hsv(256, 59%, 86%) |
| CMYK | cmyk(42.7%, 58.6%, 0%, 13.7%) |
| CIE-LAB | lab(48.37, 44.03, -61.36) |
| CIE-LCH | lch(48.37, 75.52, 305.66°) |
| OKLab | oklab(57.34% 0.0702 -0.1749) |
| OKLCH | oklch(57.34% 0.188 291.9) |
| XYZ | xyz(25.2600, 17.0843, 69.6630) |
| Luminance | 0.1709 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.18
Light Indigo
#6D5ACF
ΔE00 3.59
Slate Blue
#6A5ACD
ΔE00 4.20
Mediumslateblue
#7B68EE
ΔE00 4.86
Dark Periwinkle
#665FD1
ΔE00 4.89
Iris
#6258C4
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5BDC #B9DC5B
analogous
#5B78DC #7E5BDC #BE5BDC
triadic
#7E5BDC #DC7E5B #5BDC7E
tetradic
#7E5BDC #DC5B78 #B9DC5B #5BDCBE
square
#7E5BDC #DC5B78 #B9DC5B #5BDCBE
split-complementary
#7E5BDC #DCBE5B #78DC5B
monochromatic
#42219B #582CCE #7E5BDC #A68DE7 #CDC0F2
Accessibility & contrast
On white
4.75
#7E5BDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#7E5BDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E5BDC
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5BDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E5BDC | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#0C70D9
Tritanopia (blue-blind)
#637893
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7e5bdc; /* rgb */ color: rgb(126, 91, 220); /* oklch */ color: oklch(57.3% 0.188 291.9);
Tailwind
colors: {
custom: {
50: '#a98be8',
500: '#7e5bdc',
950: '#000000',
},
}SCSS
$custom: #7e5bdc; $custom-light: #a98be8; $custom-dark: #000000;
JSON
{
"hex": "#7e5bdc",
"rgb": {
"r": 126,
"g": 91,
"b": 220
},
"hsl": {
"h": 256.279,
"s": 64.824,
"l": 60.98
},
"oklch": {
"l": 0.57343,
"c": 0.18848,
"h": 291.9
},
"luminance": 0.17085
}Semantic roles & 50–950 ramp
primary
#7E5BDC
secondary
#D5E2B1
accent
#CD199C
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84