#7C4FC0#7C4FC0
#7C4FC0 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.3% C 0.171 H 298.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4FC0 |
|---|---|
| RGB | rgb(124, 79, 192) |
| HSL | hsl(264, 47%, 53%) |
| HSV | hsv(264, 59%, 75%) |
| CMYK | cmyk(35.4%, 58.9%, 0%, 24.7%) |
| CIE-LAB | lab(43.77, 42.79, -52.68) |
| CIE-LCH | lch(43.77, 67.87, 309.08°) |
| OKLab | oklab(53.35% 0.0823 -0.1495) |
| OKLCH | oklch(53.35% 0.171 298.8) |
| XYZ | xyz(20.6202, 13.6826, 51.4136) |
| Luminance | 0.1368 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.03
Light Indigo
#6D5ACF
ΔE00 5.27
Slate Blue
#6A5ACD
ΔE00 5.55
Purpley
#8756E4
ΔE00 6.03
Bluey Purple
#6241C7
ΔE00 6.10
Iris
#6258C4
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4FC0 #93C04F
analogous
#4F5AC0 #7C4FC0 #B44FC0
triadic
#7C4FC0 #C07C4F #4FC07C
tetradic
#7C4FC0 #C04F5A #93C04F #4FC0B4
square
#7C4FC0 #C04F5A #93C04F #4FC0B4
split-complementary
#7C4FC0 #C0B44F #5AC04F
monochromatic
#43276D #5F379A #7C4FC0 #9E7CD0 #BFA9E0
Accessibility & contrast
On white
5.62
#7C4FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#7C4FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4FC0
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4FC0 | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1067C4
Deuteranopia (green-blind)
#2866BD
Tritanopia (blue-blind)
#6D6780
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7c4fc0; /* rgb */ color: rgb(124, 79, 192); /* oklch */ color: oklch(53.3% 0.171 298.8);
Tailwind
colors: {
custom: {
50: '#a682d4',
500: '#7c4fc0',
950: '#000000',
},
}SCSS
$custom: #7c4fc0; $custom-light: #a682d4; $custom-dark: #000000;
JSON
{
"hex": "#7c4fc0",
"rgb": {
"r": 124,
"g": 79,
"b": 192
},
"hsl": {
"h": 263.894,
"s": 47.28,
"l": 53.137
},
"oklch": {
"l": 0.53346,
"c": 0.17065,
"h": 298.8
},
"luminance": 0.13683
}Semantic roles & 50–950 ramp
primary
#7C4FC0
secondary
#BACE9D
accent
#D751A2
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83