#7D56F9#7D56F9
#7D56F9 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.7% C 0.230 H 288.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7D56F9 |
|---|---|
| RGB | rgb(125, 86, 249) |
| HSL | hsl(254, 93%, 66%) |
| HSV | hsv(254, 65%, 98%) |
| CMYK | cmyk(49.8%, 65.5%, 0%, 2.4%) |
| CIE-LAB | lab(49.32, 54.59, -76.14) |
| CIE-LCH | lch(49.32, 93.69, 305.64°) |
| OKLab | oklab(58.66% 0.0717 -0.2184) |
| OKLCH | oklch(58.66% 0.23 288.2) |
| XYZ | xyz(28.8791, 17.8538, 91.5286) |
| Luminance | 0.1785 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.29
Mediumslateblue
#7B68EE
ΔE00 4.84
Light Indigo
#6D5ACF
ΔE00 6.28
Slate Blue
#6A5ACD
ΔE00 6.78
Dark Periwinkle
#665FD1
ΔE00 6.97
Lighter Purple
#A55AF4
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D56F9 #D2F956
analogous
#5680F9 #7D56F9 #CF56F9
triadic
#7D56F9 #F97D56 #56F97D
tetradic
#7D56F9 #F95680 #D2F956 #56F9CF
square
#7D56F9 #F95680 #D2F956 #56F9CF
split-complementary
#7D56F9 #F9CF56 #80F956
monochromatic
#3707CD #501BF7 #7D56F9 #AA91FB #D8CCFD
Accessibility & contrast
On white
4.59
#7D56F9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#7D56F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7D56F9
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D56F9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D56F9 | 1.00 | 4.59 | 4.57 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079FE
Deuteranopia (green-blind)
#0071F6
Tritanopia (blue-blind)
#507EA0
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7d56f9; /* rgb */ color: rgb(125, 86, 249); /* oklch */ color: oklch(58.7% 0.230 288.2);
Tailwind
colors: {
custom: {
50: '#ac88fc',
500: '#7d56f9',
950: '#000000',
},
}SCSS
$custom: #7d56f9; $custom-light: #ac88fc; $custom-dark: #000000;
JSON
{
"hex": "#7d56f9",
"rgb": {
"r": 125,
"g": 86,
"b": 249
},
"hsl": {
"h": 254.356,
"s": 93.143,
"l": 65.686
},
"oklch": {
"l": 0.58664,
"c": 0.22987,
"h": 288.2
},
"luminance": 0.17855
}Semantic roles & 50–950 ramp
primary
#7D56F9
secondary
#E4F1BA
accent
#E600AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86