#7C4FC6#7C4FC6
#7C4FC6 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.8% C 0.178 H 297.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4FC6 |
|---|---|
| RGB | rgb(124, 79, 198) |
| HSL | hsl(263, 51%, 54%) |
| HSV | hsv(263, 60%, 78%) |
| CMYK | cmyk(37.4%, 60.1%, 0%, 22.4%) |
| CIE-LAB | lab(44.17, 44.36, -55.53) |
| CIE-LCH | lch(44.17, 71.07, 308.62°) |
| OKLab | oklab(53.76% 0.0822 -0.1578) |
| OKLCH | oklch(53.76% 0.178 297.5) |
| XYZ | xyz(21.2986, 13.9540, 54.9864) |
| Luminance | 0.1395 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.74
Royal Purple
#7851A9
ΔE00 4.96
Slate Blue
#6A5ACD
ΔE00 5.08
Purpley
#8756E4
ΔE00 5.23
Iris
#6258C4
ΔE00 5.87
Bluey Purple
#6241C7
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4FC6 #99C64F
analogous
#4F5EC6 #7C4FC6 #B84FC6
triadic
#7C4FC6 #C67C4F #4FC67C
tetradic
#7C4FC6 #C64F5E #99C64F #4FC6B8
square
#7C4FC6 #C64F5E #99C64F #4FC6B8
split-complementary
#7C4FC6 #C6B84F #5EC64F
monochromatic
#442675 #5E35A3 #7C4FC6 #9E7DD5 #C1ABE4
Accessibility & contrast
On white
5.54
#7C4FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#7C4FC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4FC6
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4FC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4FC6 | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CA
Deuteranopia (green-blind)
#1D67C3
Tritanopia (blue-blind)
#6B6983
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7c4fc6; /* rgb */ color: rgb(124, 79, 198); /* oklch */ color: oklch(53.8% 0.178 297.5);
Tailwind
colors: {
custom: {
50: '#a782d8',
500: '#7c4fc6',
950: '#000000',
},
}SCSS
$custom: #7c4fc6; $custom-light: #a782d8; $custom-dark: #000000;
JSON
{
"hex": "#7c4fc6",
"rgb": {
"r": 124,
"g": 79,
"b": 198
},
"hsl": {
"h": 262.689,
"s": 51.073,
"l": 54.314
},
"oklch": {
"l": 0.53759,
"c": 0.17795,
"h": 297.5
},
"luminance": 0.13954
}Semantic roles & 50–950 ramp
primary
#7C4FC6
secondary
#BFD29F
accent
#DB4DA5
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83