#7C4CC2#7C4CC2
#7C4CC2 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.0% C 0.177 H 299.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4CC2 |
|---|---|
| RGB | rgb(124, 76, 194) |
| HSL | hsl(264, 49%, 53%) |
| HSV | hsv(264, 61%, 76%) |
| CMYK | cmyk(36.1%, 60.8%, 0%, 23.9%) |
| CIE-LAB | lab(43.28, 44.96, -54.63) |
| CIE-LCH | lch(43.28, 70.75, 309.45°) |
| OKLab | oklab(53.03% 0.0859 -0.1552) |
| OKLCH | oklch(53.03% 0.177 299) |
| XYZ | xyz(20.6318, 13.3488, 52.5181) |
| Luminance | 0.1335 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.52
Bluey Purple
#6241C7
ΔE00 5.56
Light Indigo
#6D5ACF
ΔE00 5.60
Slate Blue
#6A5ACD
ΔE00 5.88
Purpley
#8756E4
ΔE00 6.11
Bluish Purple
#703BE7
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4CC2 #92C24C
analogous
#4C57C2 #7C4CC2 #B74CC2
triadic
#7C4CC2 #C27C4C #4CC27C
tetradic
#7C4CC2 #C24C57 #92C24C #4CC2B7
square
#7C4CC2 #C24C57 #92C24C #4CC2B7
split-complementary
#7C4CC2 #C2B74C #57C24C
monochromatic
#43266E #5F359C #7C4CC2 #9D7AD2 #BFA7E1
Accessibility & contrast
On white
5.72
#7C4CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#7C4CC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4CC2
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4CC2 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#1E65BF
Tritanopia (blue-blind)
#6C6580
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7c4cc2; /* rgb */ color: rgb(124, 76, 194); /* oklch */ color: oklch(53.0% 0.177 299.0);
Tailwind
colors: {
custom: {
50: '#a680d5',
500: '#7c4cc2',
950: '#000000',
},
}SCSS
$custom: #7c4cc2; $custom-light: #a680d5; $custom-dark: #000000;
JSON
{
"hex": "#7c4cc2",
"rgb": {
"r": 124,
"g": 76,
"b": 194
},
"hsl": {
"h": 264.407,
"s": 49.167,
"l": 52.941
},
"oklch": {
"l": 0.5303,
"c": 0.17739,
"h": 299
},
"luminance": 0.13349
}Semantic roles & 50–950 ramp
primary
#7C4CC2
secondary
#BACE9B
accent
#D94FA1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83