#7E5CF4#7E5CF4
#7E5CF4 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.2% C 0.217 H 288.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5CF4 |
|---|---|
| RGB | rgb(126, 92, 244) |
| HSL | hsl(253, 87%, 66%) |
| HSV | hsv(253, 62%, 96%) |
| CMYK | cmyk(48.4%, 62.3%, 0%, 4.3%) |
| CIE-LAB | lab(50.24, 50.14, -71.84) |
| CIE-LCH | lch(50.24, 87.61, 304.91°) |
| OKLab | oklab(59.24% 0.0678 -0.2057) |
| OKLCH | oklch(59.24% 0.217 288.2) |
| XYZ | xyz(28.7557, 18.6203, 87.6493) |
| Luminance | 0.1862 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.28
Mediumslateblue
#7B68EE
ΔE00 3.37
Light Indigo
#6D5ACF
ΔE00 5.99
Dark Periwinkle
#665FD1
ΔE00 6.42
Slate Blue
#6A5ACD
ΔE00 6.50
Lighter Purple
#A55AF4
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5CF4 #D2F45C
analogous
#5C86F4 #7E5CF4 #CA5CF4
triadic
#7E5CF4 #F47E5C #5CF47E
tetradic
#7E5CF4 #F45C86 #D2F45C #5CF4CA
square
#7E5CF4 #F45C86 #D2F45C #5CF4CA
split-complementary
#7E5CF4 #F4CA5C #86F45C
monochromatic
#370EC8 #5123F0 #7E5CF4 #AB95F8 #D9CFFC
Accessibility & contrast
On white
4.45
#7E5CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#7E5CF4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E5CF4
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5CF4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E5CF4 | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF9
Deuteranopia (green-blind)
#0074F1
Tritanopia (blue-blind)
#5680A0
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7e5cf4; /* rgb */ color: rgb(126, 92, 244); /* oklch */ color: oklch(59.2% 0.217 288.2);
Tailwind
colors: {
custom: {
50: '#ac8cf9',
500: '#7e5cf4',
950: '#000000',
},
}SCSS
$custom: #7e5cf4; $custom-light: #ac8cf9; $custom-dark: #000000;
JSON
{
"hex": "#7e5cf4",
"rgb": {
"r": 126,
"g": 92,
"b": 244
},
"hsl": {
"h": 253.421,
"s": 87.356,
"l": 65.882
},
"oklch": {
"l": 0.59237,
"c": 0.21662,
"h": 288.2
},
"luminance": 0.18622
}Semantic roles & 50–950 ramp
primary
#7E5CF4
secondary
#E4EFBD
accent
#E402B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85