#7C4DD0#7C4DD0
#7C4DD0 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.2% C 0.193 H 295.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4DD0 |
|---|---|
| RGB | rgb(124, 77, 208) |
| HSL | hsl(262, 58%, 56%) |
| HSV | hsv(262, 63%, 82%) |
| CMYK | cmyk(40.4%, 63%, 0%, 18.4%) |
| CIE-LAB | lab(44.44, 48.08, -60.86) |
| CIE-LCH | lch(44.44, 77.56, 308.31°) |
| OKLab | oklab(54.18% 0.0839 -0.1735) |
| OKLCH | oklch(54.18% 0.193 295.8) |
| XYZ | xyz(22.3482, 14.1464, 61.2154) |
| Luminance | 0.1415 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.37
Light Indigo
#6D5ACF
ΔE00 4.61
Slate Blue
#6A5ACD
ΔE00 5.01
Bluish Purple
#703BE7
ΔE00 5.10
Bluey Purple
#6241C7
ΔE00 5.56
Iris
#6258C4
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4DD0 #A1D04D
analogous
#4D5FD0 #7C4DD0 #BD4DD0
triadic
#7C4DD0 #D07C4D #4DD07C
tetradic
#7C4DD0 #D04D5F #A1D04D #4DD0BD
square
#7C4DD0 #D04D5F #A1D04D #4DD0BD
split-complementary
#7C4DD0 #D0BD4D #5FD04D
monochromatic
#442281 #5D2FB1 #7C4DD0 #A07DDD #C3AEEA
Accessibility & contrast
On white
5.48
#7C4DD0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#7C4DD0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4DD0
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4DD0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4DD0 | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD4
Deuteranopia (green-blind)
#0067CD
Tritanopia (blue-blind)
#676B87
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7c4dd0; /* rgb */ color: rgb(124, 77, 208); /* oklch */ color: oklch(54.2% 0.193 295.8);
Tailwind
colors: {
custom: {
50: '#a881df',
500: '#7c4dd0',
950: '#000000',
},
}SCSS
$custom: #7c4dd0; $custom-light: #a881df; $custom-dark: #000000;
JSON
{
"hex": "#7c4dd0",
"rgb": {
"r": 124,
"g": 77,
"b": 208
},
"hsl": {
"h": 261.527,
"s": 58.222,
"l": 55.882
},
"oklch": {
"l": 0.54175,
"c": 0.19272,
"h": 295.8
},
"luminance": 0.14147
}Semantic roles & 50–950 ramp
primary
#7C4DD0
secondary
#C4D8A1
accent
#E146AA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83