#7C4DD3#7C4DD3
#7C4DD3 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.4% C 0.196 H 295.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4DD3 |
|---|---|
| RGB | rgb(124, 77, 211) |
| HSL | hsl(261, 60%, 56%) |
| HSV | hsv(261, 64%, 83%) |
| CMYK | cmyk(41.2%, 63.5%, 0%, 17.3%) |
| CIE-LAB | lab(44.65, 48.87, -62.24) |
| CIE-LCH | lch(44.65, 79.13, 308.14°) |
| OKLab | oklab(54.4% 0.0836 -0.1776) |
| OKLCH | oklch(54.4% 0.196 295.2) |
| XYZ | xyz(22.7208, 14.2955, 63.1776) |
| Luminance | 0.1430 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.08
Light Indigo
#6D5ACF
ΔE00 4.55
Bluish Purple
#703BE7
ΔE00 4.88
Slate Blue
#6A5ACD
ΔE00 4.98
Bluey Purple
#6241C7
ΔE00 5.66
Purpleish Blue
#6140EF
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4DD3 #A4D34D
analogous
#4D61D3 #7C4DD3 #BF4DD3
triadic
#7C4DD3 #D37C4D #4DD37C
tetradic
#7C4DD3 #D34D61 #A4D34D #4DD3BF
square
#7C4DD3 #D34D61 #A4D34D #4DD3BF
split-complementary
#7C4DD3 #D3BF4D #61D34D
monochromatic
#442185 #5D2DB6 #7C4DD3 #A07EDF #C4AFEB
Accessibility & contrast
On white
5.44
#7C4DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#7C4DD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4DD3
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4DD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4DD3 | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD7
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#656C89
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7c4dd3; /* rgb */ color: rgb(124, 77, 211); /* oklch */ color: oklch(54.4% 0.196 295.2);
Tailwind
colors: {
custom: {
50: '#a881e1',
500: '#7c4dd3',
950: '#000000',
},
}SCSS
$custom: #7c4dd3; $custom-light: #a881e1; $custom-dark: #000000;
JSON
{
"hex": "#7c4dd3",
"rgb": {
"r": 124,
"g": 77,
"b": 211
},
"hsl": {
"h": 261.045,
"s": 60.36,
"l": 56.471
},
"oklch": {
"l": 0.54395,
"c": 0.19627,
"h": 295.2
},
"luminance": 0.14296
}Semantic roles & 50–950 ramp
primary
#7C4DD3
secondary
#C6D9A2
accent
#E444AC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83