#7E5DEF#7E5DEF
#7E5DEF is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.0% C 0.209 H 288.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5DEF |
|---|---|
| RGB | rgb(126, 93, 239) |
| HSL | hsl(254, 82%, 65%) |
| HSV | hsv(254, 61%, 94%) |
| CMYK | cmyk(47.3%, 61.1%, 0%, 6.3%) |
| CIE-LAB | lab(50.09, 48.19, -69.29) |
| CIE-LCH | lch(50.09, 84.40, 304.82°) |
| OKLab | oklab(59.02% 0.0672 -0.1982) |
| OKLCH | oklch(59.02% 0.209 288.7) |
| XYZ | xyz(28.0940, 18.4952, 83.7343) |
| Luminance | 0.1850 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.00
Mediumslateblue
#7B68EE
ΔE00 3.16
Light Indigo
#6D5ACF
ΔE00 5.49
Dark Periwinkle
#665FD1
ΔE00 5.96
Slate Blue
#6A5ACD
ΔE00 6.01
Lighter Purple
#A55AF4
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5DEF #CEEF5D
analogous
#5D85EF #7E5DEF #C75DEF
triadic
#7E5DEF #EF7E5D #5DEF7E
tetradic
#7E5DEF #EF5D85 #CEEF5D #5DEFC7
square
#7E5DEF #EF5D85 #CEEF5D #5DEFC7
split-complementary
#7E5DEF #EFC75D #85EF5D
monochromatic
#3A13BF #5225E9 #7E5DEF #AA95F5 #D7CCFA
Accessibility & contrast
On white
4.47
#7E5DEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#7E5DEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E5DEF
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5DEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E5DEF | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#0073EC
Tritanopia (blue-blind)
#597F9D
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7e5def; /* rgb */ color: rgb(126, 93, 239); /* oklch */ color: oklch(59.0% 0.209 288.7);
Tailwind
colors: {
custom: {
50: '#ab8cf5',
500: '#7e5def',
950: '#000000',
},
}SCSS
$custom: #7e5def; $custom-light: #ab8cf5; $custom-dark: #000000;
JSON
{
"hex": "#7e5def",
"rgb": {
"r": 126,
"g": 93,
"b": 239
},
"hsl": {
"h": 253.562,
"s": 82.022,
"l": 65.098
},
"oklch": {
"l": 0.59016,
"c": 0.20929,
"h": 288.7
},
"luminance": 0.18496
}Semantic roles & 50–950 ramp
primary
#7E5DEF
secondary
#E1EDBB
accent
#DE07AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85