#7D56BE#7D56BE
#7D56BE is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.4% C 0.158 H 298.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7D56BE |
|---|---|
| RGB | rgb(125, 86, 190) |
| HSL | hsl(263, 44%, 54%) |
| HSV | hsv(263, 55%, 75%) |
| CMYK | cmyk(34.2%, 54.7%, 0%, 25.5%) |
| CIE-LAB | lab(45.27, 38.56, -49.12) |
| CIE-LCH | lch(45.27, 62.45, 308.14°) |
| OKLab | oklab(54.43% 0.0748 -0.139) |
| OKLCH | oklch(54.43% 0.158 298.3) |
| XYZ | xyz(21.0772, 14.7330, 50.4385) |
| Luminance | 0.1473 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.85
Light Indigo
#6D5ACF
ΔE00 4.78
Deep Lavender
#8D5EB7
ΔE00 4.82
Slate Blue
#6A5ACD
ΔE00 5.08
Iris
#6258C4
ΔE00 5.83
Purpley
#8756E4
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D56BE #97BE56
analogous
#5663BE #7D56BE #B156BE
triadic
#7D56BE #BE7D56 #56BE7D
tetradic
#7D56BE #BE5663 #97BE56 #56BEB1
square
#7D56BE #BE5663 #97BE56 #56BEB1
split-complementary
#7D56BE #BEB156 #63BE56
monochromatic
#442B6F #5F3C9B #7D56BE #9F82CF #C1AEE0
Accessibility & contrast
On white
5.32
#7D56BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#7D56BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D56BE
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D56BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D56BE | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B6BC2
Deuteranopia (green-blind)
#376ABC
Tritanopia (blue-blind)
#6F6B82
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7d56be; /* rgb */ color: rgb(125, 86, 190); /* oklch */ color: oklch(54.4% 0.158 298.3);
Tailwind
colors: {
custom: {
50: '#a687d2',
500: '#7d56be',
950: '#000000',
},
}SCSS
$custom: #7d56be; $custom-light: #a687d2; $custom-dark: #000000;
JSON
{
"hex": "#7d56be",
"rgb": {
"r": 125,
"g": 86,
"b": 190
},
"hsl": {
"h": 262.5,
"s": 44.444,
"l": 54.118
},
"oklch": {
"l": 0.54428,
"c": 0.15784,
"h": 298.3
},
"luminance": 0.14733
}Semantic roles & 50–950 ramp
primary
#7D56BE
secondary
#BDCEA2
accent
#D454A4
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83