#7C56EB#7C56EB
#7C56EB is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.5% C 0.213 H 289.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7C56EB |
|---|---|
| RGB | rgb(124, 86, 235) |
| HSL | hsl(255, 79%, 63%) |
| HSV | hsv(255, 63%, 92%) |
| CMYK | cmyk(47.2%, 63.4%, 0%, 7.8%) |
| CIE-LAB | lab(48.18, 50.54, -70.15) |
| CIE-LCH | lch(48.18, 86.46, 305.77°) |
| OKLab | oklab(57.49% 0.072 -0.2008) |
| OKLCH | oklch(57.49% 0.213 289.7) |
| XYZ | xyz(26.6311, 16.9378, 80.4473) |
| Luminance | 0.1694 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.19
Light Indigo
#6D5ACF
ΔE00 4.69
Mediumslateblue
#7B68EE
ΔE00 5.12
Slate Blue
#6A5ACD
ΔE00 5.23
Dark Periwinkle
#665FD1
ΔE00 5.78
Purpleish Blue
#6140EF
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C56EB #C5EB56
analogous
#567AEB #7C56EB #C656EB
triadic
#7C56EB #EB7C56 #56EB7C
tetradic
#7C56EB #EB567A #C5EB56 #56EBC6
square
#7C56EB #EB567A #C5EB56 #56EBC6
split-complementary
#7C56EB #EBC656 #7AEB56
monochromatic
#3D15B2 #521FE5 #7C56EB #A68DF1 #D1C3F8
Accessibility & contrast
On white
4.79
#7C56EB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#7C56EB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C56EB
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C56EB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C56EB | 1.00 | 4.79 | 4.39 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075F0
Deuteranopia (green-blind)
#006FE8
Tritanopia (blue-blind)
#587A99
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7c56eb; /* rgb */ color: rgb(124, 86, 235); /* oklch */ color: oklch(57.5% 0.213 289.7);
Tailwind
colors: {
custom: {
50: '#aa88f2',
500: '#7c56eb',
950: '#000000',
},
}SCSS
$custom: #7c56eb; $custom-light: #aa88f2; $custom-dark: #000000;
JSON
{
"hex": "#7c56eb",
"rgb": {
"r": 124,
"g": 86,
"b": 235
},
"hsl": {
"h": 255.302,
"s": 78.836,
"l": 62.941
},
"oklch": {
"l": 0.57494,
"c": 0.21334,
"h": 289.7
},
"luminance": 0.16939
}Semantic roles & 50–950 ramp
primary
#7C56EB
secondary
#DCE9B4
accent
#DB0AA6
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85