Skip to content

#9211df

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

RGB
146, 17, 223
HSL
278°, 86%, 47%
CMYK
35, 92, 0, 13
Luminance
0.1184

Every format

HEX#9211df
RGBrgb(146, 17, 223)
HSLhsl(278, 86%, 47%)
CMYKcmyk(35%, 92%, 0%, 13%)
LABlab(41.0 76.4 -75.0)
LCHlch(41.0 107.1 315.5)
OKLCHoklch(0.527 0.265 306.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9211df on white: 6.24:1
AA ✓ pass · AA-large · AAA
Aa
#9211df on black: 3.37:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red57.3%
Green6.7%
Blue87.5%

CMYK percentages

Cyan34.5%
Magenta92.4%
Yellow0.0%
Key (black)12.5%

Color previews

#9211df text on a black background

contrast 3.37:1

Card sample

#9211df text on a white background

contrast 6.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9211df;
Background color
Panel with #9211df background
background-color: #9211df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #9211df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(146, 17, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(146, 17, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9211df;
background: linear-gradient(135deg, #9211df, #DF11A3);

Monochromatic scale

Palettes built from #9211df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9211df in the Color Lab