#7C4DD2#7C4DD2
#7C4DD2 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.3% C 0.195 H 295.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4DD2 |
|---|---|
| RGB | rgb(124, 77, 210) |
| HSL | hsl(261, 60%, 56%) |
| HSV | hsv(261, 63%, 82%) |
| CMYK | cmyk(41%, 63.3%, 0%, 17.6%) |
| CIE-LAB | lab(44.58, 48.61, -61.78) |
| CIE-LCH | lch(44.58, 78.61, 308.20°) |
| OKLab | oklab(54.32% 0.0837 -0.1762) |
| OKLCH | oklch(54.32% 0.195 295.4) |
| XYZ | xyz(22.5958, 14.2455, 62.5194) |
| Luminance | 0.1425 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.17
Light Indigo
#6D5ACF
ΔE00 4.57
Bluish Purple
#703BE7
ΔE00 4.95
Slate Blue
#6A5ACD
ΔE00 4.99
Bluey Purple
#6241C7
ΔE00 5.62
Purpleish Blue
#6140EF
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4DD2 #A3D24D
analogous
#4D61D2 #7C4DD2 #BF4DD2
triadic
#7C4DD2 #D27C4D #4DD27C
tetradic
#7C4DD2 #D24D61 #A3D24D #4DD2BF
square
#7C4DD2 #D24D61 #A3D24D #4DD2BF
split-complementary
#7C4DD2 #D2BF4D #61D24D
monochromatic
#442183 #5D2EB4 #7C4DD2 #A07EDE #C4AFEB
Accessibility & contrast
On white
5.46
#7C4DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#7C4DD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4DD2
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4DD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4DD2 | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#666B88
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7c4dd2; /* rgb */ color: rgb(124, 77, 210); /* oklch */ color: oklch(54.3% 0.195 295.4);
Tailwind
colors: {
custom: {
50: '#a881e1',
500: '#7c4dd2',
950: '#000000',
},
}SCSS
$custom: #7c4dd2; $custom-light: #a881e1; $custom-dark: #000000;
JSON
{
"hex": "#7c4dd2",
"rgb": {
"r": 124,
"g": 77,
"b": 210
},
"hsl": {
"h": 261.203,
"s": 59.641,
"l": 56.275
},
"oklch": {
"l": 0.54322,
"c": 0.19509,
"h": 295.4
},
"luminance": 0.14246
}Semantic roles & 50–950 ramp
primary
#7C4DD2
secondary
#C5D9A2
accent
#E345AB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83