#7C56CF#7C56CF
#7C56CF is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.5% C 0.179 H 294.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7C56CF |
|---|---|
| RGB | rgb(124, 86, 207) |
| HSL | hsl(259, 56%, 57%) |
| HSV | hsv(259, 58%, 81%) |
| CMYK | cmyk(40.1%, 58.5%, 0%, 18.8%) |
| CIE-LAB | lab(46.24, 42.86, -57.38) |
| CIE-LCH | lch(46.24, 71.62, 306.75°) |
| OKLab | oklab(55.46% 0.0737 -0.1633) |
| OKLCH | oklch(55.46% 0.179 294.3) |
| XYZ | xyz(22.8995, 15.4451, 60.7941) |
| Luminance | 0.1545 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.17
Purpley
#8756E4
ΔE00 3.50
Slate Blue
#6A5ACD
ΔE00 3.70
Iris
#6258C4
ΔE00 5.19
Dark Periwinkle
#665FD1
ΔE00 5.24
Royal Purple
#7851A9
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C56CF #A9CF56
analogous
#566DCF #7C56CF #B856CF
triadic
#7C56CF #CF7C56 #56CF7C
tetradic
#7C56CF #CF566D #A9CF56 #56CFB8
square
#7C56CF #CF566D #A9CF56 #56CFB8
split-complementary
#7C56CF #CFB856 #6DCF56
monochromatic
#442685 #5C33B5 #7C56CF #A186DD #C6B5EA
Accessibility & contrast
On white
5.14
#7C56CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#7C56CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C56CF
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C56CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C56CF | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#036FD3
Deuteranopia (green-blind)
#1C6CCC
Tritanopia (blue-blind)
#67708A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7c56cf; /* rgb */ color: rgb(124, 86, 207); /* oklch */ color: oklch(55.5% 0.179 294.3);
Tailwind
colors: {
custom: {
50: '#a787de',
500: '#7c56cf',
950: '#000000',
},
}SCSS
$custom: #7c56cf; $custom-light: #a787de; $custom-dark: #000000;
JSON
{
"hex": "#7c56cf",
"rgb": {
"r": 124,
"g": 86,
"b": 207
},
"hsl": {
"h": 258.843,
"s": 55.76,
"l": 57.451
},
"oklch": {
"l": 0.55463,
"c": 0.17913,
"h": 294.3
},
"luminance": 0.15446
}Semantic roles & 50–950 ramp
primary
#7C56CF
secondary
#C9D9A8
accent
#DF49B0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83