Skip to content

#7c3df4

a balanced, electric violet · warm · closest name: blue

RGB
124, 61, 244
HSL
261°, 89%, 60%
CMYK
49, 75, 0, 4
Luminance
0.1415

Every format

HEX#7c3df4
RGBrgb(124, 61, 244)
HSLhsl(261, 89%, 60%)
CMYKcmyk(49%, 75%, 0%, 4%)
LABlab(44.5 65.3 -81.3)
LCHlch(44.5 104.3 308.8)
OKLCHoklch(0.551 0.251 291.6)

Copy-ready code

/* CSS */
color: #7c3df4;
background-color: #7c3df4;
/* Tailwind (arbitrary) */
class="text-[#7c3df4] bg-[#7c3df4]"
/* SCSS */
$brand: #7c3df4;
/* SwiftUI */
Color(red: 0.486, green: 0.239, blue: 0.957)
/* Android */
Color.parseColor("#7c3df4")

Accessibility — WCAG contrast

Aa
#7c3df4 on white: 5.48:1
AA ✓ pass · AA-large · AAA
Aa
#7c3df4 on black: 3.83:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red48.6%
Green23.9%
Blue95.7%

CMYK percentages

Cyan49.2%
Magenta75.0%
Yellow0.0%
Key (black)4.3%

Color previews

#7c3df4 text on a black background

contrast 3.83:1

Card sample

#7c3df4 text on a white background

contrast 5.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #7c3df4;
Background color
Panel with #7c3df4 background
background-color: #7c3df4;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #7c3df4;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(124, 61, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(124, 61, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7c3df4;
background: linear-gradient(135deg, #7c3df4, #F43DF2);

Monochromatic scale

Palettes built from #7c3df4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #7c3df4 in the Color Lab