#7C4FD7#7C4FD7
#7C4FD7 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.0% C 0.198 H 294.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4FD7 |
|---|---|
| RGB | rgb(124, 79, 215) |
| HSL | hsl(260, 63%, 58%) |
| HSV | hsv(260, 63%, 84%) |
| CMYK | cmyk(42.3%, 63.3%, 0%, 15.7%) |
| CIE-LAB | lab(45.34, 48.87, -63.42) |
| CIE-LCH | lch(45.34, 80.07, 307.61°) |
| OKLab | oklab(54.98% 0.0811 -0.181) |
| OKLCH | oklch(54.98% 0.198 294.1) |
| XYZ | xyz(23.3706, 14.7827, 65.8988) |
| Luminance | 0.1478 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.40
Light Indigo
#6D5ACF
ΔE00 4.18
Slate Blue
#6A5ACD
ΔE00 4.66
Bluish Purple
#703BE7
ΔE00 5.05
Purpleish Blue
#6140EF
ΔE00 5.90
Iris
#6258C4
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4FD7 #AAD74F
analogous
#4F66D7 #7C4FD7 #C04FD7
triadic
#7C4FD7 #D77C4F #4FD77C
tetradic
#7C4FD7 #D74F66 #AAD74F #4FD7C0
square
#7C4FD7 #D74F66 #AAD74F #4FD7C0
split-complementary
#7C4FD7 #D7C04F #66D74F
monochromatic
#44208C #5C2BBE #7C4FD7 #A181E2 #C6B3EE
Accessibility & contrast
On white
5.31
#7C4FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#7C4FD7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4FD7
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4FD7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4FD7 | 1.00 | 5.31 | 3.96 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#0069D4
Tritanopia (blue-blind)
#636E8C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7c4fd7; /* rgb */ color: rgb(124, 79, 215); /* oklch */ color: oklch(55.0% 0.198 294.1);
Tailwind
colors: {
custom: {
50: '#a883e4',
500: '#7c4fd7',
950: '#000000',
},
}SCSS
$custom: #7c4fd7; $custom-light: #a883e4; $custom-dark: #000000;
JSON
{
"hex": "#7c4fd7",
"rgb": {
"r": 124,
"g": 79,
"b": 215
},
"hsl": {
"h": 259.853,
"s": 62.963,
"l": 57.647
},
"oklch": {
"l": 0.54978,
"c": 0.19839,
"h": 294.1
},
"luminance": 0.14783
}Semantic roles & 50–950 ramp
primary
#7C4FD7
secondary
#CADCA6
accent
#E642B0
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84