#7C4FCF#7C4FCF
#7C4FCF is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.4% C 0.189 H 295.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4FCF |
|---|---|
| RGB | rgb(124, 79, 207) |
| HSL | hsl(261, 57%, 56%) |
| HSV | hsv(261, 62%, 81%) |
| CMYK | cmyk(40.1%, 61.8%, 0%, 18.8%) |
| CIE-LAB | lab(44.78, 46.73, -59.74) |
| CIE-LCH | lch(44.78, 75.85, 308.03°) |
| OKLab | oklab(54.4% 0.0817 -0.1702) |
| OKLCH | oklch(54.4% 0.189 295.6) |
| XYZ | xyz(22.3677, 14.3816, 60.6168) |
| Luminance | 0.1438 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.17
Light Indigo
#6D5ACF
ΔE00 4.26
Slate Blue
#6A5ACD
ΔE00 4.68
Bluish Purple
#703BE7
ΔE00 5.54
Iris
#6258C4
ΔE00 5.79
Bluey Purple
#6241C7
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4FCF #A2CF4F
analogous
#4F62CF #7C4FCF #BC4FCF
triadic
#7C4FCF #CF7C4F #4FCF7C
tetradic
#7C4FCF #CF4F62 #A2CF4F #4FCFBC
square
#7C4FCF #CF4F62 #A2CF4F #4FCFBC
split-complementary
#7C4FCF #CFBC4F #62CF4F
monochromatic
#442381 #5D30B1 #7C4FCF #A07FDC #C4AFE9
Accessibility & contrast
On white
5.42
#7C4FCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#7C4FCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4FCF
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4FCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4FCF | 1.00 | 5.42 | 3.88 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0068CC
Tritanopia (blue-blind)
#676C88
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7c4fcf; /* rgb */ color: rgb(124, 79, 207); /* oklch */ color: oklch(54.4% 0.189 295.6);
Tailwind
colors: {
custom: {
50: '#a782de',
500: '#7c4fcf',
950: '#000000',
},
}SCSS
$custom: #7c4fcf; $custom-light: #a782de; $custom-dark: #000000;
JSON
{
"hex": "#7c4fcf",
"rgb": {
"r": 124,
"g": 79,
"b": 207
},
"hsl": {
"h": 261.094,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.54395,
"c": 0.18883,
"h": 295.6
},
"luminance": 0.14382
}Semantic roles & 50–950 ramp
primary
#7C4FCF
secondary
#C5D7A2
accent
#E047AB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83