#7E57BF#7E57BF
#7E57BF is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.8% C 0.158 H 298.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #7E57BF |
|---|---|
| RGB | rgb(126, 87, 191) |
| HSL | hsl(263, 45%, 55%) |
| HSV | hsv(263, 54%, 75%) |
| CMYK | cmyk(34%, 54.5%, 0%, 25.1%) |
| CIE-LAB | lab(45.65, 38.50, -49.08) |
| CIE-LCH | lch(45.65, 62.38, 308.12°) |
| OKLab | oklab(54.76% 0.0749 -0.1388) |
| OKLCH | oklch(54.76% 0.158 298.3) |
| XYZ | xyz(21.4140, 15.0134, 51.0498) |
| Luminance | 0.1501 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.11
Deep Lavender
#8D5EB7
ΔE00 4.59
Light Indigo
#6D5ACF
ΔE00 4.76
Slate Blue
#6A5ACD
ΔE00 5.09
Purpley
#8756E4
ΔE00 5.67
Iris
#6258C4
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E57BF #98BF57
analogous
#5764BF #7E57BF #B257BF
triadic
#7E57BF #BF7E57 #57BF7E
tetradic
#7E57BF #BF5764 #98BF57 #57BFB2
square
#7E57BF #BF5764 #98BF57 #57BFB2
split-complementary
#7E57BF #BFB257 #64BF57
monochromatic
#452B71 #603C9D #7E57BF #A083D0 #C2B0E1
Accessibility & contrast
On white
5.25
#7E57BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#7E57BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E57BF
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E57BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E57BF | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C6CC3
Deuteranopia (green-blind)
#386BBD
Tritanopia (blue-blind)
#706C83
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7e57bf; /* rgb */ color: rgb(126, 87, 191); /* oklch */ color: oklch(54.8% 0.158 298.3);
Tailwind
colors: {
custom: {
50: '#a787d3',
500: '#7e57bf',
950: '#000000',
},
}SCSS
$custom: #7e57bf; $custom-light: #a787d3; $custom-dark: #000000;
JSON
{
"hex": "#7e57bf",
"rgb": {
"r": 126,
"g": 87,
"b": 191
},
"hsl": {
"h": 262.5,
"s": 44.828,
"l": 54.51
},
"oklch": {
"l": 0.54757,
"c": 0.15774,
"h": 298.3
},
"luminance": 0.15014
}Semantic roles & 50–950 ramp
primary
#7E57BF
secondary
#BECFA3
accent
#D553A4
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100B14
muted
#7F7C83