#7B57F3#7B57F3
#7B57F3 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.2% C 0.222 H 288.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7B57F3 |
|---|---|
| RGB | rgb(123, 87, 243) |
| HSL | hsl(254, 87%, 65%) |
| HSV | hsv(254, 64%, 95%) |
| CMYK | cmyk(49.4%, 64.2%, 0%, 4.7%) |
| CIE-LAB | lab(48.88, 52.04, -73.51) |
| CIE-LCH | lch(48.88, 90.06, 305.30°) |
| OKLab | oklab(58.16% 0.0689 -0.2107) |
| OKLCH | oklch(58.16% 0.222 288.1) |
| XYZ | xyz(27.7495, 17.4972, 86.6918) |
| Luminance | 0.1750 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.95
Mediumslateblue
#7B68EE
ΔE00 4.64
Light Indigo
#6D5ACF
ΔE00 5.47
Slate Blue
#6A5ACD
ΔE00 5.96
Dark Periwinkle
#665FD1
ΔE00 6.20
Purpleish Blue
#6140EF
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B57F3 #CFF357
analogous
#5781F3 #7B57F3 #C957F3
triadic
#7B57F3 #F37B57 #57F37B
tetradic
#7B57F3 #F35781 #CFF357 #57F3C9
square
#7B57F3 #F35781 #CFF357 #57F3C9
split-complementary
#7B57F3 #F3C957 #81F357
monochromatic
#370EC2 #4E1EEF #7B57F3 #A890F7 #D5C9FB
Accessibility & contrast
On white
4.67
#7B57F3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#7B57F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7B57F3
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B57F3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B57F3 | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F8
Deuteranopia (green-blind)
#0070F0
Tritanopia (blue-blind)
#507D9D
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7b57f3; /* rgb */ color: rgb(123, 87, 243); /* oklch */ color: oklch(58.2% 0.222 288.1);
Tailwind
colors: {
custom: {
50: '#aa88f8',
500: '#7b57f3',
950: '#000000',
},
}SCSS
$custom: #7b57f3; $custom-light: #aa88f8; $custom-dark: #000000;
JSON
{
"hex": "#7b57f3",
"rgb": {
"r": 123,
"g": 87,
"b": 243
},
"hsl": {
"h": 253.846,
"s": 86.667,
"l": 64.706
},
"oklch": {
"l": 0.58163,
"c": 0.2217,
"h": 288.1
},
"luminance": 0.17498
}Semantic roles & 50–950 ramp
primary
#7B57F3
secondary
#E1EEB8
accent
#E302AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85