#7B57EF#7B57EF
#7B57EF is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.9% C 0.217 H 288.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7B57EF |
|---|---|
| RGB | rgb(123, 87, 239) |
| HSL | hsl(254, 83%, 64%) |
| HSV | hsv(254, 64%, 94%) |
| CMYK | cmyk(48.5%, 63.6%, 0%, 6.3%) |
| CIE-LAB | lab(48.58, 50.92, -71.75) |
| CIE-LCH | lch(48.58, 87.98, 305.37°) |
| OKLab | oklab(57.86% 0.0693 -0.2056) |
| OKLCH | oklch(57.86% 0.217 288.6) |
| XYZ | xyz(27.1521, 17.2582, 83.5451) |
| Luminance | 0.1726 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.62
Mediumslateblue
#7B68EE
ΔE00 4.72
Light Indigo
#6D5ACF
ΔE00 5.02
Slate Blue
#6A5ACD
ΔE00 5.53
Dark Periwinkle
#665FD1
ΔE00 5.87
Purpleish Blue
#6140EF
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B57EF #CBEF57
analogous
#577FEF #7B57EF #C757EF
triadic
#7B57EF #EF7B57 #57EF7B
tetradic
#7B57EF #EF577F #CBEF57 #57EFC7
square
#7B57EF #EF577F #CBEF57 #57EFC7
split-complementary
#7B57EF #EFC757 #7FEF57
monochromatic
#3A12BA #4F1FEA #7B57EF #A78FF4 #D3C7FA
Accessibility & contrast
On white
4.72
#7B57EF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#7B57EF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B57EF
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B57EF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B57EF | 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)
#0077F4
Deuteranopia (green-blind)
#0070EC
Tritanopia (blue-blind)
#537C9B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7b57ef; /* rgb */ color: rgb(123, 87, 239); /* oklch */ color: oklch(57.9% 0.217 288.6);
Tailwind
colors: {
custom: {
50: '#aa88f5',
500: '#7b57ef',
950: '#000000',
},
}SCSS
$custom: #7b57ef; $custom-light: #aa88f5; $custom-dark: #000000;
JSON
{
"hex": "#7b57ef",
"rgb": {
"r": 123,
"g": 87,
"b": 239
},
"hsl": {
"h": 254.211,
"s": 82.609,
"l": 63.922
},
"oklch": {
"l": 0.57855,
"c": 0.21692,
"h": 288.6
},
"luminance": 0.17259
}Semantic roles & 50–950 ramp
primary
#7B57EF
secondary
#DFECB6
accent
#DF06AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85