#7C4EE2#7C4EE2
#7C4EE2 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.7% C 0.213 H 292.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4EE2 |
|---|---|
| RGB | rgb(124, 78, 226) |
| HSL | hsl(259, 72%, 60%) |
| HSV | hsv(259, 65%, 89%) |
| CMYK | cmyk(45.1%, 65.5%, 0%, 11.4%) |
| CIE-LAB | lab(45.94, 52.35, -68.71) |
| CIE-LCH | lch(45.94, 86.38, 307.30°) |
| OKLab | oklab(55.67% 0.081 -0.1966) |
| OKLCH | oklch(55.67% 0.213 292.4) |
| XYZ | xyz(24.7602, 15.2241, 73.5707) |
| Luminance | 0.1522 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.95
Bluish Purple
#703BE7
ΔE00 4.62
Light Indigo
#6D5ACF
ΔE00 4.71
Slate Blue
#6A5ACD
ΔE00 5.20
Purpleish Blue
#6140EF
ΔE00 5.23
Blueviolet
#8A2BE2
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4EE2 #B4E24E
analogous
#4E6AE2 #7C4EE2 #C64EE2
triadic
#7C4EE2 #E27C4E #4EE27C
tetradic
#7C4EE2 #E24E6A #B4E24E #4EE2C6
square
#7C4EE2 #E24E6A #B4E24E #4EE2C6
split-complementary
#7C4EE2 #E2C64E #6AE24E
monochromatic
#421A9C #5822D1 #7C4EE2 #A383EB #CAB7F3
Accessibility & contrast
On white
5.19
#7C4EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#7C4EE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4EE2
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4EE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4EE2 | 1.00 | 5.19 | 4.04 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#5E7291
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7c4ee2; /* rgb */ color: rgb(124, 78, 226); /* oklch */ color: oklch(55.7% 0.213 292.4);
Tailwind
colors: {
custom: {
50: '#a982ec',
500: '#7c4ee2',
950: '#000000',
},
}SCSS
$custom: #7c4ee2; $custom-light: #a982ec; $custom-dark: #000000;
JSON
{
"hex": "#7c4ee2",
"rgb": {
"r": 124,
"g": 78,
"b": 226
},
"hsl": {
"h": 258.649,
"s": 71.845,
"l": 59.608
},
"oklch": {
"l": 0.55667,
"c": 0.21262,
"h": 292.4
},
"luminance": 0.15225
}Semantic roles & 50–950 ramp
primary
#7C4EE2
secondary
#D1E3A9
accent
#EF39B6
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84