#7E56F6#7E56F6
#7E56F6 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.5% C 0.226 H 288.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7E56F6 |
|---|---|
| RGB | rgb(126, 86, 246) |
| HSL | hsl(255, 90%, 65%) |
| HSV | hsv(255, 65%, 96%) |
| CMYK | cmyk(48.8%, 65%, 0%, 3.5%) |
| CIE-LAB | lab(49.18, 53.94, -74.68) |
| CIE-LCH | lch(49.18, 92.12, 305.84°) |
| OKLab | oklab(58.52% 0.0734 -0.2141) |
| OKLCH | oklch(58.52% 0.226 288.9) |
| XYZ | xyz(28.5617, 17.7438, 89.0909) |
| Luminance | 0.1774 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.89
Mediumslateblue
#7B68EE
ΔE00 4.85
Light Indigo
#6D5ACF
ΔE00 6.03
Slate Blue
#6A5ACD
ΔE00 6.55
Dark Periwinkle
#665FD1
ΔE00 6.82
Lighter Purple
#A55AF4
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E56F6 #CEF656
analogous
#567EF6 #7E56F6 #CE56F6
triadic
#7E56F6 #F67E56 #56F67E
tetradic
#7E56F6 #F6567E #CEF656 #56F6CE
square
#7E56F6 #F6567E #CEF656 #56F6CE
split-complementary
#7E56F6 #F6CE56 #7EF656
monochromatic
#3A0BC7 #521CF3 #7E56F6 #AA90F9 #D7CAFC
Accessibility & contrast
On white
4.62
#7E56F6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#7E56F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7E56F6
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E56F6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E56F6 | 1.00 | 4.62 | 4.55 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078FB
Deuteranopia (green-blind)
#0071F3
Tritanopia (blue-blind)
#557D9F
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7e56f6; /* rgb */ color: rgb(126, 86, 246); /* oklch */ color: oklch(58.5% 0.226 288.9);
Tailwind
colors: {
custom: {
50: '#ac88fa',
500: '#7e56f6',
950: '#000000',
},
}SCSS
$custom: #7e56f6; $custom-light: #ac88fa; $custom-dark: #000000;
JSON
{
"hex": "#7e56f6",
"rgb": {
"r": 126,
"g": 86,
"b": 246
},
"hsl": {
"h": 255,
"s": 89.888,
"l": 65.098
},
"oklch": {
"l": 0.58518,
"c": 0.22632,
"h": 288.9
},
"luminance": 0.17745
}Semantic roles & 50–950 ramp
primary
#7E56F6
secondary
#E1EFB9
accent
#E600AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85