#7E5EF9#7E5EF9
#7E5EF9 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 59.9% C 0.220 H 287.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5EF9 |
|---|---|
| RGB | rgb(126, 94, 249) |
| HSL | hsl(252, 93%, 67%) |
| HSV | hsv(252, 62%, 98%) |
| CMYK | cmyk(49.4%, 62.2%, 0%, 2.4%) |
| CIE-LAB | lab(51.01, 50.45, -73.37) |
| CIE-LCH | lch(51.01, 89.05, 304.51°) |
| OKLab | oklab(59.91% 0.0654 -0.2102) |
| OKLCH | oklch(59.91% 0.22 287.3) |
| XYZ | xyz(29.7008, 19.2792, 91.7605) |
| Luminance | 0.1928 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.98
Purpley
#8756E4
ΔE00 4.10
Light Indigo
#6D5ACF
ΔE00 6.72
Lighter Purple
#A55AF4
ΔE00 6.76
Dark Periwinkle
#665FD1
ΔE00 6.91
Slate Blue
#6A5ACD
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5EF9 #D9F95E
analogous
#5E8CF9 #7E5EF9 #CB5EF9
triadic
#7E5EF9 #F97E5E #5EF97E
tetradic
#7E5EF9 #F95E8C #D9F95E #5EF9CB
square
#7E5EF9 #F95E8C #D9F95E #5EF9CB
split-complementary
#7E5EF9 #F9CB5E #8CF95E
monochromatic
#3208D5 #4F23F7 #7E5EF9 #AD99FB #DDD4FD
Accessibility & contrast
On white
4.32
#7E5EF9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#7E5EF9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E5EF9
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5EF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E5EF9 | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DFE
Deuteranopia (green-blind)
#0075F6
Tritanopia (blue-blind)
#5283A3
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7e5ef9; /* rgb */ color: rgb(126, 94, 249); /* oklch */ color: oklch(59.9% 0.220 287.3);
Tailwind
colors: {
custom: {
50: '#ac8dfc',
500: '#7e5ef9',
950: '#000000',
},
}SCSS
$custom: #7e5ef9; $custom-light: #ac8dfc; $custom-dark: #000000;
JSON
{
"hex": "#7e5ef9",
"rgb": {
"r": 126,
"g": 94,
"b": 249
},
"hsl": {
"h": 252.387,
"s": 92.814,
"l": 67.255
},
"oklch": {
"l": 0.59911,
"c": 0.22019,
"h": 287.3
},
"luminance": 0.19281
}Semantic roles & 50–950 ramp
primary
#7E5EF9
secondary
#E8F2C1
accent
#E600B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86