#7E57EB#7E57EB
#7E57EB is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.8% C 0.212 H 290.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7E57EB |
|---|---|
| RGB | rgb(126, 87, 235) |
| HSL | hsl(256, 79%, 63%) |
| HSV | hsv(256, 63%, 92%) |
| CMYK | cmyk(46.4%, 63%, 0%, 7.8%) |
| CIE-LAB | lab(48.57, 50.37, -69.50) |
| CIE-LCH | lch(48.57, 85.84, 305.93°) |
| OKLab | oklab(57.82% 0.0736 -0.1989) |
| OKLCH | oklch(57.82% 0.212 290.3) |
| XYZ | xyz(27.0035, 17.2492, 80.4878) |
| Luminance | 0.1725 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.92
Mediumslateblue
#7B68EE
ΔE00 4.86
Light Indigo
#6D5ACF
ΔE00 4.87
Slate Blue
#6A5ACD
ΔE00 5.43
Dark Periwinkle
#665FD1
ΔE00 5.93
Lightish Purple
#A552E6
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E57EB #C4EB57
analogous
#577AEB #7E57EB #C857EB
triadic
#7E57EB #EB7E57 #57EB7E
tetradic
#7E57EB #EB577A #C4EB57 #57EBC8
square
#7E57EB #EB577A #C4EB57 #57EBC8
split-complementary
#7E57EB #EBC857 #7AEB57
monochromatic
#3F15B2 #5420E4 #7E57EB #A88EF2 #D2C4F8
Accessibility & contrast
On white
4.72
#7E57EB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#7E57EB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E57EB
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E57EB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E57EB | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#0070E8
Tritanopia (blue-blind)
#5C7A99
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7e57eb; /* rgb */ color: rgb(126, 87, 235); /* oklch */ color: oklch(57.8% 0.212 290.3);
Tailwind
colors: {
custom: {
50: '#ab88f2',
500: '#7e57eb',
950: '#000000',
},
}SCSS
$custom: #7e57eb; $custom-light: #ab88f2; $custom-dark: #000000;
JSON
{
"hex": "#7e57eb",
"rgb": {
"r": 126,
"g": 87,
"b": 235
},
"hsl": {
"h": 255.811,
"s": 78.723,
"l": 63.137
},
"oklch": {
"l": 0.57822,
"c": 0.21205,
"h": 290.3
},
"luminance": 0.1725
}Semantic roles & 50–950 ramp
primary
#7E57EB
secondary
#DBE9B4
accent
#DB0AA4
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85