Skip to content

#792ace

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

RGB
121, 42, 206
HSL
269°, 66%, 49%
CMYK
41, 80, 0, 19
Luminance
0.1018

Every format

HEX#792ace
RGBrgb(121, 42, 206)
HSLhsl(269, 66%, 49%)
CMYKcmyk(41%, 80%, 0%, 19%)
LABlab(38.2 63.2 -70.0)
LCHlch(38.2 94.3 312.1)
OKLCHoklch(0.496 0.230 299.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#792ace on white: 6.92:1
AA ✓ pass · AA-large · AAA
Aa
#792ace on black: 3.04:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red47.5%
Green16.5%
Blue80.8%

CMYK percentages

Cyan41.3%
Magenta79.6%
Yellow0.0%
Key (black)19.2%

Color previews

#792ace text on a black background

contrast 3.04:1

Card sample

#792ace text on a white background

contrast 6.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #792ace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #792ace in the Color Lab