Skip to content

#792cdf

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

RGB
121, 44, 223
HSL
266°, 74%, 52%
CMYK
46, 80, 0, 13
Luminance
0.1119

Every format

HEX#792cdf
RGBrgb(121, 44, 223)
HSLhsl(266, 74%, 52%)
CMYKcmyk(46%, 80%, 0%, 13%)
LABlab(39.9 66.5 -76.9)
LCHlch(39.9 101.7 310.9)
OKLCHoklch(0.512 0.245 295.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#792cdf on white: 6.48:1
AA ✓ pass · AA-large · AAA
Aa
#792cdf on black: 3.24:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red47.5%
Green17.3%
Blue87.5%

CMYK percentages

Cyan45.7%
Magenta80.3%
Yellow0.0%
Key (black)12.5%

Color previews

#792cdf text on a black background

contrast 3.24:1

Card sample

#792cdf text on a white background

contrast 6.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #792cdf;
Background color
Panel with #792cdf background
background-color: #792cdf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #792cdf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(121, 44, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(121, 44, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #792cdf;
background: linear-gradient(135deg, #792cdf, #DF2CCE);

Monochromatic scale

Palettes built from #792cdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #792cdf in the Color Lab