#7E57BB#7E57BB
#7E57BB is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.5% C 0.153 H 299.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #7E57BB |
|---|---|
| RGB | rgb(126, 87, 187) |
| HSL | hsl(263, 42%, 54%) |
| HSV | hsv(263, 53%, 73%) |
| CMYK | cmyk(32.6%, 53.5%, 0%, 26.7%) |
| CIE-LAB | lab(45.41, 37.46, -47.13) |
| CIE-LCH | lch(45.41, 60.20, 308.48°) |
| OKLab | oklab(54.5% 0.0747 -0.1331) |
| OKLCH | oklch(54.5% 0.153 299.3) |
| XYZ | xyz(20.9799, 14.8397, 48.7631) |
| Luminance | 0.1484 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.51
Deep Lavender
#8D5EB7
ΔE00 4.26
Light Indigo
#6D5ACF
ΔE00 5.29
Slate Blue
#6A5ACD
ΔE00 5.57
Iris
#6258C4
ΔE00 6.25
Purpley
#8756E4
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E57BB #94BB57
analogous
#5762BB #7E57BB #B057BB
triadic
#7E57BB #BB7E57 #57BB7E
tetradic
#7E57BB #BB5762 #94BB57 #57BBB0
square
#7E57BB #BB5762 #94BB57 #57BBB0
split-complementary
#7E57BB #BBB057 #62BB57
monochromatic
#452C6C #603D97 #7E57BB #9F83CD #C1AEDE
Accessibility & contrast
On white
5.29
#7E57BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#7E57BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E57BB
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E57BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E57BB | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#316BBE
Deuteranopia (green-blind)
#3C6BB9
Tritanopia (blue-blind)
#716B81
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7e57bb; /* rgb */ color: rgb(126, 87, 187); /* oklch */ color: oklch(54.5% 0.153 299.3);
Tailwind
colors: {
custom: {
50: '#a787d0',
500: '#7e57bb',
950: '#000000',
},
}SCSS
$custom: #7e57bb; $custom-light: #a787d0; $custom-dark: #000000;
JSON
{
"hex": "#7e57bb",
"rgb": {
"r": 126,
"g": 87,
"b": 187
},
"hsl": {
"h": 263.4,
"s": 42.373,
"l": 53.725
},
"oklch": {
"l": 0.54503,
"c": 0.15265,
"h": 299.3
},
"luminance": 0.1484
}Semantic roles & 50–950 ramp
primary
#7E57BB
secondary
#BCCCA2
accent
#D256A2
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100B14
muted
#7F7C82