#7C4DC8#7C4DC8
#7C4DC8 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.6% C 0.183 H 297.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4DC8 |
|---|---|
| RGB | rgb(124, 77, 200) |
| HSL | hsl(263, 53%, 54%) |
| HSV | hsv(263, 62%, 78%) |
| CMYK | cmyk(38%, 61.5%, 0%, 21.6%) |
| CIE-LAB | lab(43.89, 45.98, -57.14) |
| CIE-LCH | lch(43.89, 73.34, 308.82°) |
| OKLab | oklab(53.6% 0.0844 -0.1625) |
| OKLCH | oklch(53.6% 0.183 297.5) |
| XYZ | xyz(21.3887, 13.7626, 56.1620) |
| Luminance | 0.1376 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.97
Purpley
#8756E4
ΔE00 5.24
Slate Blue
#6A5ACD
ΔE00 5.31
Royal Purple
#7851A9
ΔE00 5.34
Bluey Purple
#6241C7
ΔE00 5.52
Bluish Purple
#703BE7
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4DC8 #99C84D
analogous
#4D5CC8 #7C4DC8 #BA4DC8
triadic
#7C4DC8 #C87C4D #4DC87C
tetradic
#7C4DC8 #C84D5C #99C84D #4DC8BA
square
#7C4DC8 #C84D5C #99C84D #4DC8BA
split-complementary
#7C4DC8 #C8BA4D #5CC84D
monochromatic
#442476 #5E33A5 #7C4DC8 #9E7CD6 #C1ABE5
Accessibility & contrast
On white
5.60
#7C4DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#7C4DC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4DC8
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4DC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4DC8 | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#1266C5
Tritanopia (blue-blind)
#6A6883
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7c4dc8; /* rgb */ color: rgb(124, 77, 200); /* oklch */ color: oklch(53.6% 0.183 297.5);
Tailwind
colors: {
custom: {
50: '#a781d9',
500: '#7c4dc8',
950: '#000000',
},
}SCSS
$custom: #7c4dc8; $custom-light: #a781d9; $custom-dark: #000000;
JSON
{
"hex": "#7c4dc8",
"rgb": {
"r": 124,
"g": 77,
"b": 200
},
"hsl": {
"h": 262.927,
"s": 52.79,
"l": 54.314
},
"oklch": {
"l": 0.536,
"c": 0.18317,
"h": 297.5
},
"luminance": 0.13763
}Semantic roles & 50–950 ramp
primary
#7C4DC8
secondary
#BFD29E
accent
#DC4CA5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83