#7E56F9#7E56F9
#7E56F9 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.8% C 0.230 H 288.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7E56F9 |
|---|---|
| RGB | rgb(126, 86, 249) |
| HSL | hsl(255, 93%, 66%) |
| HSV | hsv(255, 65%, 98%) |
| CMYK | cmyk(49.4%, 65.5%, 0%, 2.4%) |
| CIE-LAB | lab(49.41, 54.77, -75.98) |
| CIE-LCH | lch(49.41, 93.66, 305.78°) |
| OKLab | oklab(58.75% 0.073 -0.2179) |
| OKLCH | oklch(58.75% 0.23 288.5) |
| XYZ | xyz(29.0259, 17.9295, 91.5355) |
| Luminance | 0.1793 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.21
Mediumslateblue
#7B68EE
ΔE00 4.85
Light Indigo
#6D5ACF
ΔE00 6.36
Slate Blue
#6A5ACD
ΔE00 6.86
Lighter Purple
#A55AF4
ΔE00 6.93
Dark Periwinkle
#665FD1
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E56F9 #D1F956
analogous
#567FF9 #7E56F9 #CF56F9
triadic
#7E56F9 #F97E56 #56F97E
tetradic
#7E56F9 #F9567F #D1F956 #56F9CF
square
#7E56F9 #F9567F #D1F956 #56F9CF
split-complementary
#7E56F9 #F9CF56 #7FF956
monochromatic
#3807CD #511BF7 #7E56F9 #AB91FB #D8CCFD
Accessibility & contrast
On white
4.58
#7E56F9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#7E56F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E56F9
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E56F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E56F9 | 1.00 | 4.58 | 4.59 | 4.59 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079FE
Deuteranopia (green-blind)
#0071F6
Tritanopia (blue-blind)
#537EA0
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7e56f9; /* rgb */ color: rgb(126, 86, 249); /* oklch */ color: oklch(58.8% 0.230 288.5);
Tailwind
colors: {
custom: {
50: '#ad88fc',
500: '#7e56f9',
950: '#000000',
},
}SCSS
$custom: #7e56f9; $custom-light: #ad88fc; $custom-dark: #000000;
JSON
{
"hex": "#7e56f9",
"rgb": {
"r": 126,
"g": 86,
"b": 249
},
"hsl": {
"h": 254.724,
"s": 93.143,
"l": 65.686
},
"oklch": {
"l": 0.58752,
"c": 0.22983,
"h": 288.5
},
"luminance": 0.17931
}Semantic roles & 50–950 ramp
primary
#7E56F9
secondary
#E3F1BA
accent
#E600AD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86