#7E5DEB#7E5DEB
#7E5DEB is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.7% C 0.204 H 289.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5DEB |
|---|---|
| RGB | rgb(126, 93, 235) |
| HSL | hsl(254, 78%, 64%) |
| HSV | hsv(254, 60%, 92%) |
| CMYK | cmyk(46.4%, 60.4%, 0%, 7.8%) |
| CIE-LAB | lab(49.81, 47.07, -67.49) |
| CIE-LCH | lch(49.81, 82.29, 304.89°) |
| OKLab | oklab(58.72% 0.0674 -0.1929) |
| OKLCH | oklch(58.72% 0.204 289.3) |
| XYZ | xyz(27.5097, 18.2614, 80.6565) |
| Luminance | 0.1826 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.71
Mediumslateblue
#7B68EE
ΔE00 3.28
Light Indigo
#6D5ACF
ΔE00 5.05
Slate Blue
#6A5ACD
ΔE00 5.59
Dark Periwinkle
#665FD1
ΔE00 5.63
Lighter Purple
#A55AF4
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5DEB #CAEB5D
analogous
#5D83EB #7E5DEB #C55DEB
triadic
#7E5DEB #EB7E5D #5DEB7E
tetradic
#7E5DEB #EB5D83 #CAEB5D #5DEBC5
square
#7E5DEB #EB5D83 #CAEB5D #5DEBC5
split-complementary
#7E5DEB #EBC55D #83EB5D
monochromatic
#3C17B7 #5327E4 #7E5DEB #A993F2 #D5CAF8
Accessibility & contrast
On white
4.51
#7E5DEB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#7E5DEB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E5DEB
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5DEB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E5DEB | 1.00 | 4.51 | 4.65 | 4.65 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#5B7E9B
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7e5deb; /* rgb */ color: rgb(126, 93, 235); /* oklch */ color: oklch(58.7% 0.204 289.3);
Tailwind
colors: {
custom: {
50: '#ab8cf2',
500: '#7e5deb',
950: '#000000',
},
}SCSS
$custom: #7e5deb; $custom-light: #ab8cf2; $custom-dark: #000000;
JSON
{
"hex": "#7e5deb",
"rgb": {
"r": 126,
"g": 93,
"b": 235
},
"hsl": {
"h": 253.944,
"s": 78.022,
"l": 64.314
},
"oklch": {
"l": 0.58724,
"c": 0.20438,
"h": 289.3
},
"luminance": 0.18262
}Semantic roles & 50–950 ramp
primary
#7E5DEB
secondary
#DFEBB9
accent
#DA0BAA
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85