#7C56BE#7C56BE
#7C56BE is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.3% C 0.158 H 297.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #7C56BE |
|---|---|
| RGB | rgb(124, 86, 190) |
| HSL | hsl(262, 44%, 54%) |
| HSV | hsv(262, 55%, 75%) |
| CMYK | cmyk(34.7%, 54.7%, 0%, 25.5%) |
| CIE-LAB | lab(45.16, 38.31, -49.29) |
| CIE-LCH | lch(45.16, 62.43, 307.86°) |
| OKLab | oklab(54.33% 0.0735 -0.1395) |
| OKLCH | oklch(54.33% 0.158 297.8) |
| XYZ | xyz(20.9319, 14.6581, 50.4317) |
| Luminance | 0.1466 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.86
Light Indigo
#6D5ACF
ΔE00 4.62
Slate Blue
#6A5ACD
ΔE00 4.90
Deep Lavender
#8D5EB7
ΔE00 4.99
Iris
#6258C4
ΔE00 5.63
Purpley
#8756E4
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C56BE #98BE56
analogous
#5664BE #7C56BE #B056BE
triadic
#7C56BE #BE7C56 #56BE7C
tetradic
#7C56BE #BE5664 #98BE56 #56BEB0
square
#7C56BE #BE5664 #98BE56 #56BEB0
split-complementary
#7C56BE #BEB056 #64BE56
monochromatic
#442B6F #5F3C9B #7C56BE #9E82CF #C1AEE0
Accessibility & contrast
On white
5.34
#7C56BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#7C56BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C56BE
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C56BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C56BE | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A6BC2
Deuteranopia (green-blind)
#366ABC
Tritanopia (blue-blind)
#6D6B82
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7c56be; /* rgb */ color: rgb(124, 86, 190); /* oklch */ color: oklch(54.3% 0.158 297.8);
Tailwind
colors: {
custom: {
50: '#a587d2',
500: '#7c56be',
950: '#000000',
},
}SCSS
$custom: #7c56be; $custom-light: #a587d2; $custom-dark: #000000;
JSON
{
"hex": "#7c56be",
"rgb": {
"r": 124,
"g": 86,
"b": 190
},
"hsl": {
"h": 261.923,
"s": 44.444,
"l": 54.118
},
"oklch": {
"l": 0.54327,
"c": 0.15771,
"h": 297.8
},
"luminance": 0.14658
}Semantic roles & 50–950 ramp
primary
#7C56BE
secondary
#BECEA2
accent
#D454A5
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83