#7E5FF4#7E5FF4
#7E5FF4 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.7% C 0.213 H 287.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5FF4 |
|---|---|
| RGB | rgb(126, 95, 244) |
| HSL | hsl(252, 87%, 66%) |
| HSV | hsv(252, 61%, 96%) |
| CMYK | cmyk(48.4%, 61.1%, 0%, 4.3%) |
| CIE-LAB | lab(50.86, 48.49, -70.83) |
| CIE-LCH | lch(50.86, 85.84, 304.39°) |
| OKLab | oklab(59.69% 0.0648 -0.2028) |
| OKLCH | oklch(59.69% 0.213 287.7) |
| XYZ | xyz(29.0208, 19.1504, 87.7377) |
| Luminance | 0.1915 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.62
Purpley
#8756E4
ΔE00 3.81
Light Indigo
#6D5ACF
ΔE00 6.23
Dark Periwinkle
#665FD1
ΔE00 6.44
Slate Blue
#6A5ACD
ΔE00 6.72
Lighter Purple
#A55AF4
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5FF4 #D5F45F
analogous
#5F8BF4 #7E5FF4 #C95FF4
triadic
#7E5FF4 #F47E5F #5FF47E
tetradic
#7E5FF4 #F45F8B #D5F45F #5FF4C9
square
#7E5FF4 #F45F8B #D5F45F #5FF4C9
split-complementary
#7E5FF4 #F4C95F #8BF45F
monochromatic
#350ECB #5026F0 #7E5FF4 #AC98F8 #DAD2FC
Accessibility & contrast
On white
4.35
#7E5FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#7E5FF4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E5FF4
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5FF4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E5FF4 | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DF9
Deuteranopia (green-blind)
#0075F1
Tritanopia (blue-blind)
#5582A1
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7e5ff4; /* rgb */ color: rgb(126, 95, 244); /* oklch */ color: oklch(59.7% 0.213 287.7);
Tailwind
colors: {
custom: {
50: '#ac8ef9',
500: '#7e5ff4',
950: '#000000',
},
}SCSS
$custom: #7e5ff4; $custom-light: #ac8ef9; $custom-dark: #000000;
JSON
{
"hex": "#7e5ff4",
"rgb": {
"r": 126,
"g": 95,
"b": 244
},
"hsl": {
"h": 252.483,
"s": 87.135,
"l": 66.471
},
"oklch": {
"l": 0.5969,
"c": 0.21286,
"h": 287.7
},
"luminance": 0.19152
}Semantic roles & 50–950 ramp
primary
#7E5FF4
secondary
#E6F0BF
accent
#E402B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85