#7E57F3#7E57F3
#7E57F3 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.4% C 0.222 H 289.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7E57F3 |
|---|---|
| RGB | rgb(126, 87, 243) |
| HSL | hsl(255, 87%, 65%) |
| HSV | hsv(255, 64%, 95%) |
| CMYK | cmyk(48.1%, 64.2%, 0%, 4.7%) |
| CIE-LAB | lab(49.16, 52.58, -73.04) |
| CIE-LCH | lch(49.16, 90.00, 305.75°) |
| OKLab | oklab(58.43% 0.0728 -0.2093) |
| OKLCH | oklch(58.43% 0.222 289.2) |
| XYZ | xyz(28.1854, 17.7219, 86.7122) |
| Luminance | 0.1772 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.63
Mediumslateblue
#7B68EE
ΔE00 4.64
Light Indigo
#6D5ACF
ΔE00 5.71
Slate Blue
#6A5ACD
ΔE00 6.23
Dark Periwinkle
#665FD1
ΔE00 6.51
Lighter Purple
#A55AF4
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E57F3 #CCF357
analogous
#577EF3 #7E57F3 #CC57F3
triadic
#7E57F3 #F37E57 #57F37E
tetradic
#7E57F3 #F3577E #CCF357 #57F3CC
square
#7E57F3 #F3577E #CCF357 #57F3CC
split-complementary
#7E57F3 #F3CC57 #7EF357
monochromatic
#3B0EC2 #521EEF #7E57F3 #AA90F7 #D6C9FB
Accessibility & contrast
On white
4.62
#7E57F3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#7E57F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7E57F3
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E57F3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E57F3 | 1.00 | 4.62 | 4.54 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F8
Deuteranopia (green-blind)
#0071F0
Tritanopia (blue-blind)
#577D9D
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7e57f3; /* rgb */ color: rgb(126, 87, 243); /* oklch */ color: oklch(58.4% 0.222 289.2);
Tailwind
colors: {
custom: {
50: '#ac88f8',
500: '#7e57f3',
950: '#000000',
},
}SCSS
$custom: #7e57f3; $custom-light: #ac88f8; $custom-dark: #000000;
JSON
{
"hex": "#7e57f3",
"rgb": {
"r": 126,
"g": 87,
"b": 243
},
"hsl": {
"h": 255,
"s": 86.667,
"l": 64.706
},
"oklch": {
"l": 0.58429,
"c": 0.22157,
"h": 289.2
},
"luminance": 0.17723
}Semantic roles & 50–950 ramp
primary
#7E57F3
secondary
#E0EEB8
accent
#E302AB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85