#7A57F4#7A57F4
#7A57F4 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.2% C 0.223 H 287.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7A57F4 |
|---|---|
| RGB | rgb(122, 87, 244) |
| HSL | hsl(253, 88%, 65%) |
| HSV | hsv(253, 64%, 96%) |
| CMYK | cmyk(50%, 64.3%, 0%, 4.3%) |
| CIE-LAB | lab(48.86, 52.15, -74.09) |
| CIE-LCH | lch(48.86, 90.60, 305.14°) |
| OKLab | oklab(58.15% 0.0674 -0.2125) |
| OKLCH | oklch(58.15% 0.223 287.6) |
| XYZ | xyz(27.7586, 17.4843, 87.4826) |
| Luminance | 0.1749 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.14
Mediumslateblue
#7B68EE
ΔE00 4.64
Light Indigo
#6D5ACF
ΔE00 5.51
Slate Blue
#6A5ACD
ΔE00 5.99
Dark Periwinkle
#665FD1
ΔE00 6.19
Purpleish Blue
#6140EF
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A57F4 #D1F457
analogous
#5782F4 #7A57F4 #C957F4
triadic
#7A57F4 #F47A57 #57F47A
tetradic
#7A57F4 #F45782 #D1F457 #57F4C9
square
#7A57F4 #F45782 #D1F457 #57F4C9
split-complementary
#7A57F4 #F4C957 #82F457
monochromatic
#360DC4 #4D1EF0 #7A57F4 #A790F8 #D5CAFC
Accessibility & contrast
On white
4.67
#7A57F4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#7A57F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7A57F4
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A57F4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A57F4 | 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)
#0078F9
Deuteranopia (green-blind)
#0070F1
Tritanopia (blue-blind)
#4E7E9E
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7a57f4; /* rgb */ color: rgb(122, 87, 244); /* oklch */ color: oklch(58.2% 0.223 287.6);
Tailwind
colors: {
custom: {
50: '#aa88f9',
500: '#7a57f4',
950: '#000000',
},
}SCSS
$custom: #7a57f4; $custom-light: #aa88f9; $custom-dark: #000000;
JSON
{
"hex": "#7a57f4",
"rgb": {
"r": 122,
"g": 87,
"b": 244
},
"hsl": {
"h": 253.376,
"s": 87.709,
"l": 64.902
},
"oklch": {
"l": 0.58153,
"c": 0.22294,
"h": 287.6
},
"luminance": 0.17486
}Semantic roles & 50–950 ramp
primary
#7A57F4
secondary
#E2EEB9
accent
#E401B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85