#7E56ED#7E56ED
#7E56ED is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.8% C 0.216 H 290.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7E56ED |
|---|---|
| RGB | rgb(126, 86, 237) |
| HSL | hsl(256, 81%, 63%) |
| HSV | hsv(256, 64%, 93%) |
| CMYK | cmyk(46.8%, 63.7%, 0%, 7.1%) |
| CIE-LAB | lab(48.52, 51.46, -70.72) |
| CIE-LCH | lch(48.52, 87.46, 306.04°) |
| OKLab | oklab(57.83% 0.0744 -0.2024) |
| OKLCH | oklch(57.83% 0.216 290.2) |
| XYZ | xyz(27.2137, 17.2046, 81.9913) |
| Luminance | 0.1721 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.04
Mediumslateblue
#7B68EE
ΔE00 5.04
Light Indigo
#6D5ACF
ΔE00 5.09
Slate Blue
#6A5ACD
ΔE00 5.63
Dark Periwinkle
#665FD1
ΔE00 6.15
Purpleish Blue
#6140EF
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E56ED #C5ED56
analogous
#5679ED #7E56ED #C956ED
triadic
#7E56ED #ED7E56 #56ED7E
tetradic
#7E56ED #ED5679 #C5ED56 #56EDC9
square
#7E56ED #ED5679 #C5ED56 #56EDC9
split-complementary
#7E56ED #EDC956 #79ED56
monochromatic
#3E13B5 #541FE7 #7E56ED #A88DF3 #D2C5F9
Accessibility & contrast
On white
4.73
#7E56ED on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#7E56ED on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E56ED
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E56ED | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E56ED | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076F2
Deuteranopia (green-blind)
#0070EA
Tritanopia (blue-blind)
#5A7A9A
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7e56ed; /* rgb */ color: rgb(126, 86, 237); /* oklch */ color: oklch(57.8% 0.216 290.2);
Tailwind
colors: {
custom: {
50: '#ab88f4',
500: '#7e56ed',
950: '#000000',
},
}SCSS
$custom: #7e56ed; $custom-light: #ab88f4; $custom-dark: #000000;
JSON
{
"hex": "#7e56ed",
"rgb": {
"r": 126,
"g": 86,
"b": 237
},
"hsl": {
"h": 255.894,
"s": 80.749,
"l": 63.333
},
"oklch": {
"l": 0.57827,
"c": 0.21569,
"h": 290.2
},
"luminance": 0.17206
}Semantic roles & 50–950 ramp
primary
#7E56ED
secondary
#DCEAB4
accent
#DD08A5
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85