#7C4FE4#7C4FE4
#7C4FE4 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.0% C 0.214 H 291.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4FE4 |
|---|---|
| RGB | rgb(124, 79, 228) |
| HSL | hsl(258, 73%, 60%) |
| HSV | hsv(258, 65%, 89%) |
| CMYK | cmyk(45.6%, 65.4%, 0%, 10.6%) |
| CIE-LAB | lab(46.28, 52.36, -69.29) |
| CIE-LCH | lch(46.28, 86.85, 307.08°) |
| OKLab | oklab(55.96% 0.0797 -0.1983) |
| OKLCH | oklch(55.96% 0.214 291.9) |
| XYZ | xyz(25.1079, 15.4776, 75.0483) |
| Luminance | 0.1548 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.73
Light Indigo
#6D5ACF
ΔE00 4.69
Bluish Purple
#703BE7
ΔE00 4.86
Slate Blue
#6A5ACD
ΔE00 5.19
Purpleish Blue
#6140EF
ΔE00 5.34
Dark Periwinkle
#665FD1
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4FE4 #B7E44F
analogous
#4F6CE4 #7C4FE4 #C74FE4
triadic
#7C4FE4 #E47C4F #4FE47C
tetradic
#7C4FE4 #E44F6C #B7E44F #4FE4C7
square
#7C4FE4 #E44F6C #B7E44F #4FE4C7
split-complementary
#7C4FE4 #E4C74F #6CE44F
monochromatic
#4119A0 #5721D5 #7C4FE4 #A384EC #CBB9F4
Accessibility & contrast
On white
5.13
#7C4FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#7C4FE4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4FE4
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4FE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4FE4 | 1.00 | 5.13 | 4.10 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#006BE1
Tritanopia (blue-blind)
#5D7393
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7c4fe4; /* rgb */ color: rgb(124, 79, 228); /* oklch */ color: oklch(56.0% 0.214 291.9);
Tailwind
colors: {
custom: {
50: '#aa83ed',
500: '#7c4fe4',
950: '#000000',
},
}SCSS
$custom: #7c4fe4; $custom-light: #aa83ed; $custom-dark: #000000;
JSON
{
"hex": "#7c4fe4",
"rgb": {
"r": 124,
"g": 79,
"b": 228
},
"hsl": {
"h": 258.121,
"s": 73.399,
"l": 60.196
},
"oklch": {
"l": 0.5596,
"c": 0.21371,
"h": 291.9
},
"luminance": 0.15478
}Semantic roles & 50–950 ramp
primary
#7C4FE4
secondary
#D3E4AB
accent
#D6109A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84