#7D56E6#7D56E6
#7D56E6 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.2% C 0.207 H 290.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7D56E6 |
|---|---|
| RGB | rgb(125, 86, 230) |
| HSL | hsl(256, 74%, 62%) |
| HSV | hsv(256, 63%, 90%) |
| CMYK | cmyk(45.7%, 62.6%, 0%, 9.8%) |
| CIE-LAB | lab(47.92, 49.35, -67.76) |
| CIE-LCH | lch(47.92, 83.82, 306.06°) |
| OKLab | oklab(57.21% 0.0738 -0.1938) |
| OKLCH | oklch(57.21% 0.207 290.8) |
| XYZ | xyz(26.0642, 16.7278, 76.7031) |
| Luminance | 0.1673 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.81
Light Indigo
#6D5ACF
ΔE00 4.31
Slate Blue
#6A5ACD
ΔE00 4.88
Mediumslateblue
#7B68EE
ΔE00 5.36
Dark Periwinkle
#665FD1
ΔE00 5.61
Bluish Purple
#703BE7
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D56E6 #BFE656
analogous
#5677E6 #7D56E6 #C556E6
triadic
#7D56E6 #E67D56 #56E67D
tetradic
#7D56E6 #E65677 #BFE656 #56E6C5
square
#7D56E6 #E65677 #BFE656 #56E6C5
split-complementary
#7D56E6 #E6C556 #77E656
monochromatic
#4019A9 #5421DE #7D56E6 #A68BEE #CFC1F6
Accessibility & contrast
On white
4.83
#7D56E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#7D56E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D56E6
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D56E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D56E6 | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074EB
Deuteranopia (green-blind)
#006FE3
Tritanopia (blue-blind)
#5D7896
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7d56e6; /* rgb */ color: rgb(125, 86, 230); /* oklch */ color: oklch(57.2% 0.207 290.8);
Tailwind
colors: {
custom: {
50: '#aa88ef',
500: '#7d56e6',
950: '#000000',
},
}SCSS
$custom: #7d56e6; $custom-light: #aa88ef; $custom-dark: #000000;
JSON
{
"hex": "#7d56e6",
"rgb": {
"r": 125,
"g": 86,
"b": 230
},
"hsl": {
"h": 256.25,
"s": 74.227,
"l": 61.961
},
"oklch": {
"l": 0.5721,
"c": 0.20733,
"h": 290.8
},
"luminance": 0.16729
}Semantic roles & 50–950 ramp
primary
#7D56E6
secondary
#D8E6B1
accent
#D60FA0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85