#7E5AEF#7E5AEF
#7E5AEF is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.6% C 0.213 H 289.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5AEF |
|---|---|
| RGB | rgb(126, 90, 239) |
| HSL | hsl(254, 82%, 65%) |
| HSV | hsv(254, 62%, 94%) |
| CMYK | cmyk(47.3%, 62.3%, 0%, 6.3%) |
| CIE-LAB | lab(49.47, 49.84, -70.29) |
| CIE-LCH | lch(49.47, 86.17, 305.34°) |
| OKLab | oklab(58.56% 0.0702 -0.2012) |
| OKLCH | oklch(58.56% 0.213 289.2) |
| XYZ | xyz(27.8359, 17.9788, 83.6482) |
| Luminance | 0.1798 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.52
Mediumslateblue
#7B68EE
ΔE00 3.95
Light Indigo
#6D5ACF
ΔE00 5.33
Slate Blue
#6A5ACD
ΔE00 5.86
Dark Periwinkle
#665FD1
ΔE00 6.04
Lighter Purple
#A55AF4
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5AEF #CBEF5A
analogous
#5A81EF #7E5AEF #C95AEF
triadic
#7E5AEF #EF7E5A #5AEF7E
tetradic
#7E5AEF #EF5A81 #CBEF5A #5AEFC9
square
#7E5AEF #EF5A81 #CBEF5A #5AEFC9
split-complementary
#7E5AEF #EFC95A #81EF5A
monochromatic
#3B12BC #5222EA #7E5AEF #AA92F4 #D5CAFA
Accessibility & contrast
On white
4.57
#7E5AEF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#7E5AEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E5AEF
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5AEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E5AEF | 1.00 | 4.57 | 4.60 | 4.60 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#0072EC
Tritanopia (blue-blind)
#597D9C
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7e5aef; /* rgb */ color: rgb(126, 90, 239); /* oklch */ color: oklch(58.6% 0.213 289.2);
Tailwind
colors: {
custom: {
50: '#ab8af5',
500: '#7e5aef',
950: '#000000',
},
}SCSS
$custom: #7e5aef; $custom-light: #ab8af5; $custom-dark: #000000;
JSON
{
"hex": "#7e5aef",
"rgb": {
"r": 126,
"g": 90,
"b": 239
},
"hsl": {
"h": 254.497,
"s": 82.32,
"l": 64.51
},
"oklch": {
"l": 0.58564,
"c": 0.21309,
"h": 289.2
},
"luminance": 0.1798
}Semantic roles & 50–950 ramp
primary
#7E5AEF
secondary
#E0ECB9
accent
#DF07AB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85