Skip to content

#7c20df

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

RGB
124, 32, 223
HSL
269°, 75%, 50%
CMYK
44, 86, 0, 13
Luminance
0.1065

Every format

HEX#7c20df
RGBrgb(124, 32, 223)
HSLhsl(269, 75%, 50%)
CMYKcmyk(44%, 86%, 0%, 13%)
LABlab(39.0 70.7 -78.4)
LCHlch(39.0 105.6 312.0)
OKLCHoklch(0.507 0.254 297.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7c20df on white: 6.71:1
AA ✓ pass · AA-large · AAA
Aa
#7c20df on black: 3.13:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red48.6%
Green12.5%
Blue87.5%

CMYK percentages

Cyan44.4%
Magenta85.7%
Yellow0.0%
Key (black)12.5%

Color previews

#7c20df text on a black background

contrast 3.13:1

Card sample

#7c20df text on a white background

contrast 6.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7c20df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #7c20df in the Color Lab