#7D56CD#7D56CD
#7D56CD is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.4% C 0.177 H 295.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7D56CD |
|---|---|
| RGB | rgb(125, 86, 205) |
| HSL | hsl(260, 54%, 57%) |
| HSV | hsv(260, 58%, 80%) |
| CMYK | cmyk(39%, 58%, 0%, 19.6%) |
| CIE-LAB | lab(46.21, 42.54, -56.28) |
| CIE-LCH | lch(46.21, 70.55, 307.09°) |
| OKLab | oklab(55.42% 0.075 -0.16) |
| OKLCH | oklch(55.42% 0.177 295.1) |
| XYZ | xyz(22.8018, 15.4229, 59.5213) |
| Luminance | 0.1542 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.42
Purpley
#8756E4
ΔE00 3.67
Slate Blue
#6A5ACD
ΔE00 3.93
Iris
#6258C4
ΔE00 5.35
Dark Periwinkle
#665FD1
ΔE00 5.49
Royal Purple
#7851A9
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D56CD #A6CD56
analogous
#566BCD #7D56CD #B956CD
triadic
#7D56CD #CD7D56 #56CD7D
tetradic
#7D56CD #CD566B #A6CD56 #56CDB9
square
#7D56CD #CD566B #A6CD56 #56CDB9
split-complementary
#7D56CD #CDB956 #6BCD56
monochromatic
#452682 #5D34B1 #7D56CD #A185DB #C6B4E9
Accessibility & contrast
On white
5.14
#7D56CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#7D56CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D56CD
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D56CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D56CD | 1.00 | 5.14 | 4.08 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D6ED1
Deuteranopia (green-blind)
#226CCA
Tritanopia (blue-blind)
#697089
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7d56cd; /* rgb */ color: rgb(125, 86, 205); /* oklch */ color: oklch(55.4% 0.177 295.1);
Tailwind
colors: {
custom: {
50: '#a787dd',
500: '#7d56cd',
950: '#000000',
},
}SCSS
$custom: #7d56cd; $custom-light: #a787dd; $custom-dark: #000000;
JSON
{
"hex": "#7d56cd",
"rgb": {
"r": 125,
"g": 86,
"b": 205
},
"hsl": {
"h": 259.664,
"s": 54.338,
"l": 57.059
},
"oklch": {
"l": 0.55423,
"c": 0.17671,
"h": 295.1
},
"luminance": 0.15423
}Semantic roles & 50–950 ramp
primary
#7D56CD
secondary
#C8D8A7
accent
#DE4AAD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83