#7D56E5#7D56E5
#7D56E5 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.1% C 0.206 H 291.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7D56E5 |
|---|---|
| RGB | rgb(125, 86, 229) |
| HSL | hsl(256, 73%, 62%) |
| HSV | hsv(256, 62%, 90%) |
| CMYK | cmyk(45.4%, 62.4%, 0%, 10.2%) |
| CIE-LAB | lab(47.84, 49.07, -67.31) |
| CIE-LCH | lch(47.84, 83.30, 306.09°) |
| OKLab | oklab(57.14% 0.0738 -0.1924) |
| OKLCH | oklch(57.14% 0.206 291) |
| XYZ | xyz(25.9241, 16.6718, 75.9656) |
| Luminance | 0.1667 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.79
Light Indigo
#6D5ACF
ΔE00 4.22
Slate Blue
#6A5ACD
ΔE00 4.79
Mediumslateblue
#7B68EE
ΔE00 5.41
Dark Periwinkle
#665FD1
ΔE00 5.56
Bluish Purple
#703BE7
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D56E5 #BEE556
analogous
#5677E5 #7D56E5 #C556E5
triadic
#7D56E5 #E57D56 #56E57D
tetradic
#7D56E5 #E55677 #BEE556 #56E5C5
square
#7D56E5 #E55677 #BEE556 #56E5C5
split-complementary
#7D56E5 #E5C556 #77E556
monochromatic
#401AA7 #5522DC #7D56E5 #A68BED #CFC0F5
Accessibility & contrast
On white
4.84
#7D56E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#7D56E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D56E5
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D56E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D56E5 | 1.00 | 4.84 | 4.33 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074EA
Deuteranopia (green-blind)
#006EE2
Tritanopia (blue-blind)
#5D7896
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7d56e5; /* rgb */ color: rgb(125, 86, 229); /* oklch */ color: oklch(57.1% 0.206 291.0);
Tailwind
colors: {
custom: {
50: '#aa87ee',
500: '#7d56e5',
950: '#000000',
},
}SCSS
$custom: #7d56e5; $custom-light: #aa87ee; $custom-dark: #000000;
JSON
{
"hex": "#7d56e5",
"rgb": {
"r": 125,
"g": 86,
"b": 229
},
"hsl": {
"h": 256.364,
"s": 73.333,
"l": 61.765
},
"oklch": {
"l": 0.57135,
"c": 0.20613,
"h": 291
},
"luminance": 0.16673
}Semantic roles & 50–950 ramp
primary
#7D56E5
secondary
#D7E6B1
accent
#D510A0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84