#7C4FDC#7C4FDC
#7C4FDC is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.4% C 0.204 H 293.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4FDC |
|---|---|
| RGB | rgb(124, 79, 220) |
| HSL | hsl(259, 67%, 59%) |
| HSV | hsv(259, 64%, 86%) |
| CMYK | cmyk(43.6%, 64.1%, 0%, 13.7%) |
| CIE-LAB | lab(45.69, 50.21, -65.70) |
| CIE-LCH | lch(45.69, 82.68, 307.39°) |
| OKLab | oklab(55.35% 0.0806 -0.1877) |
| OKLCH | oklch(55.35% 0.204 293.2) |
| XYZ | xyz(24.0229, 15.0437, 69.3343) |
| Luminance | 0.1504 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.04
Light Indigo
#6D5ACF
ΔE00 4.30
Slate Blue
#6A5ACD
ΔE00 4.79
Bluish Purple
#703BE7
ΔE00 4.88
Purpleish Blue
#6140EF
ΔE00 5.61
Iris
#6258C4
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4FDC #AFDC4F
analogous
#4F68DC #7C4FDC #C24FDC
triadic
#7C4FDC #DC7C4F #4FDC7C
tetradic
#7C4FDC #DC4F68 #AFDC4F #4FDCC2
square
#7C4FDC #DC4F68 #AFDC4F #4FDCC2
split-complementary
#7C4FDC #DCC24F #68DC4F
monochromatic
#431D93 #5A27C6 #7C4FDC #A282E6 #C8B5F0
Accessibility & contrast
On white
5.24
#7C4FDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#7C4FDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4FDC
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4FDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4FDC | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#006AD9
Tritanopia (blue-blind)
#61708E
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7c4fdc; /* rgb */ color: rgb(124, 79, 220); /* oklch */ color: oklch(55.4% 0.204 293.2);
Tailwind
colors: {
custom: {
50: '#a983e8',
500: '#7c4fdc',
950: '#000000',
},
}SCSS
$custom: #7c4fdc; $custom-light: #a983e8; $custom-dark: #000000;
JSON
{
"hex": "#7c4fdc",
"rgb": {
"r": 124,
"g": 79,
"b": 220
},
"hsl": {
"h": 259.149,
"s": 66.825,
"l": 58.627
},
"oklch": {
"l": 0.55351,
"c": 0.20431,
"h": 293.2
},
"luminance": 0.15044
}Semantic roles & 50–950 ramp
primary
#7C4FDC
secondary
#CDDFA8
accent
#EA3EB3
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84