#7C4FCA#7C4FCA
#7C4FCA is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.0% C 0.183 H 296.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4FCA |
|---|---|
| RGB | rgb(124, 79, 202) |
| HSL | hsl(262, 54%, 55%) |
| HSV | hsv(262, 61%, 79%) |
| CMYK | cmyk(38.6%, 60.9%, 0%, 20.8%) |
| CIE-LAB | lab(44.43, 45.41, -57.41) |
| CIE-LCH | lch(44.43, 73.20, 308.34°) |
| OKLab | oklab(54.04% 0.082 -0.1634) |
| OKLCH | oklch(54.04% 0.183 296.7) |
| XYZ | xyz(21.7661, 14.1409, 57.4484) |
| Luminance | 0.1414 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.48
Purpley
#8756E4
ΔE00 4.74
Slate Blue
#6A5ACD
ΔE00 4.85
Royal Purple
#7851A9
ΔE00 5.57
Iris
#6258C4
ΔE00 5.79
Bluey Purple
#6241C7
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4FCA #9DCA4F
analogous
#4F60CA #7C4FCA #B94FCA
triadic
#7C4FCA #CA7C4F #4FCA7C
tetradic
#7C4FCA #CA4F60 #9DCA4F #4FCAB9
square
#7C4FCA #CA4F60 #9DCA4F #4FCAB9
split-complementary
#7C4FCA #CAB94F #60CA4F
monochromatic
#44257A #5E33A9 #7C4FCA #9F7ED8 #C2ADE6
Accessibility & contrast
On white
5.49
#7C4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#7C4FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4FCA
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4FCA | 1.00 | 5.49 | 3.83 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#1368C7
Tritanopia (blue-blind)
#696A85
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7c4fca; /* rgb */ color: rgb(124, 79, 202); /* oklch */ color: oklch(54.0% 0.183 296.7);
Tailwind
colors: {
custom: {
50: '#a782db',
500: '#7c4fca',
950: '#000000',
},
}SCSS
$custom: #7c4fca; $custom-light: #a782db; $custom-dark: #000000;
JSON
{
"hex": "#7c4fca",
"rgb": {
"r": 124,
"g": 79,
"b": 202
},
"hsl": {
"h": 261.951,
"s": 53.712,
"l": 55.098
},
"oklch": {
"l": 0.54039,
"c": 0.1828,
"h": 296.7
},
"luminance": 0.14141
}Semantic roles & 50–950 ramp
primary
#7C4FCA
secondary
#C1D4A1
accent
#DD4BA8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83