#7E57D8#7E57D8
#7E57D8 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.4% C 0.189 H 293.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7E57D8 |
|---|---|
| RGB | rgb(126, 87, 216) |
| HSL | hsl(258, 62%, 59%) |
| HSV | hsv(258, 60%, 85%) |
| CMYK | cmyk(41.7%, 59.7%, 0%, 15.3%) |
| CIE-LAB | lab(47.25, 45.17, -60.89) |
| CIE-LCH | lch(47.25, 75.82, 306.57°) |
| OKLab | oklab(56.44% 0.0749 -0.1735) |
| OKLCH | oklch(56.44% 0.189 293.3) |
| XYZ | xyz(24.4037, 16.2092, 66.7954) |
| Luminance | 0.1621 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.24
Light Indigo
#6D5ACF
ΔE00 3.46
Slate Blue
#6A5ACD
ΔE00 4.07
Dark Periwinkle
#665FD1
ΔE00 5.25
Iris
#6258C4
ΔE00 5.85
Mediumslateblue
#7B68EE
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E57D8 #B1D857
analogous
#5770D8 #7E57D8 #BF57D8
triadic
#7E57D8 #D87E57 #57D87E
tetradic
#7E57D8 #D85770 #B1D857 #57D8BF
square
#7E57D8 #D85770 #B1D857 #57D8BF
split-complementary
#7E57D8 #D8BF57 #70D857
monochromatic
#442293 #5B2EC4 #7E57D8 #A489E4 #CABAEF
Accessibility & contrast
On white
4.95
#7E57D8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#7E57D8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E57D8
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E57D8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E57D8 | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#076ED5
Tritanopia (blue-blind)
#66748F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7e57d8; /* rgb */ color: rgb(126, 87, 216); /* oklch */ color: oklch(56.4% 0.189 293.3);
Tailwind
colors: {
custom: {
50: '#a988e5',
500: '#7e57d8',
950: '#000000',
},
}SCSS
$custom: #7e57d8; $custom-light: #a988e5; $custom-dark: #000000;
JSON
{
"hex": "#7e57d8",
"rgb": {
"r": 126,
"g": 87,
"b": 216
},
"hsl": {
"h": 258.14,
"s": 62.319,
"l": 59.412
},
"oklch": {
"l": 0.56439,
"c": 0.189,
"h": 293.3
},
"luminance": 0.1621
}Semantic roles & 50–950 ramp
primary
#7E57D8
secondary
#CFDFAC
accent
#E542B4
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100B16
muted
#7F7C84