Skip to content

#796ace

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

RGB
121, 106, 206
HSL
249°, 51%, 61%
CMYK
41, 49, 0, 19
Luminance
0.1883

Every format

HEX#796ace
RGBrgb(121, 106, 206)
HSLhsl(249, 51%, 61%)
CMYKcmyk(41%, 49%, 0%, 19%)
LABlab(50.5 30.2 -50.0)
LCHlch(50.5 58.4 301.2)
OKLCHoklch(0.585 0.149 287.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#796ace on white: 4.41:1
AA ✗ fail · AA-large · AAA
Aa
#796ace on black: 4.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red47.5%
Green41.6%
Blue80.8%

CMYK percentages

Cyan41.3%
Magenta48.5%
Yellow0.0%
Key (black)19.2%

Color previews

#796ace text on a black background

contrast 4.77:1

Card sample

#796ace text on a white background

contrast 4.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #796ace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #796ace in the Color Lab