#7E56F0#7E56F0
#7E56F0 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.1% C 0.219 H 289.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7E56F0 |
|---|---|
| RGB | rgb(126, 86, 240) |
| HSL | hsl(256, 84%, 64%) |
| HSV | hsv(256, 64%, 94%) |
| CMYK | cmyk(47.5%, 64.2%, 0%, 5.9%) |
| CIE-LAB | lab(48.74, 52.28, -72.05) |
| CIE-LCH | lch(48.74, 89.02, 305.97°) |
| OKLab | oklab(58.06% 0.0741 -0.2063) |
| OKLCH | oklch(58.06% 0.219 289.8) |
| XYZ | xyz(27.6557, 17.3814, 84.3189) |
| Luminance | 0.1738 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.30
Mediumslateblue
#7B68EE
ΔE00 4.95
Light Indigo
#6D5ACF
ΔE00 5.39
Slate Blue
#6A5ACD
ΔE00 5.93
Dark Periwinkle
#665FD1
ΔE00 6.36
Purpleish Blue
#6140EF
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E56F0 #C8F056
analogous
#567BF0 #7E56F0 #CB56F0
triadic
#7E56F0 #F07E56 #56F07E
tetradic
#7E56F0 #F0567B #C8F056 #56F0CB
square
#7E56F0 #F0567B #C8F056 #56F0CB
split-complementary
#7E56F0 #F0CB56 #7BF056
monochromatic
#3D11BB #531EEB #7E56F0 #A98EF5 #D4C6FA
Accessibility & contrast
On white
4.69
#7E56F0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#7E56F0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E56F0
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E56F0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E56F0 | 1.00 | 4.69 | 4.48 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077F5
Deuteranopia (green-blind)
#0070ED
Tritanopia (blue-blind)
#597B9C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7e56f0; /* rgb */ color: rgb(126, 86, 240); /* oklch */ color: oklch(58.1% 0.219 289.8);
Tailwind
colors: {
custom: {
50: '#ac88f6',
500: '#7e56f0',
950: '#000000',
},
}SCSS
$custom: #7e56f0; $custom-light: #ac88f6; $custom-dark: #000000;
JSON
{
"hex": "#7e56f0",
"rgb": {
"r": 126,
"g": 86,
"b": 240
},
"hsl": {
"h": 255.584,
"s": 83.696,
"l": 63.922
},
"oklch": {
"l": 0.58056,
"c": 0.21924,
"h": 289.8
},
"luminance": 0.17382
}Semantic roles & 50–950 ramp
primary
#7E56F0
secondary
#DEECB6
accent
#E005A7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85