Skip to content

#d211ff

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

RGB
210, 17, 255
HSL
289°, 100%, 53%
CMYK
18, 93, 0, 0
Luminance
0.2132

Every format

HEX#d211ff
RGBrgb(210, 17, 255)
HSLhsl(289, 100%, 53%)
CMYKcmyk(18%, 93%, 0%, 0%)
LABlab(53.3 90.5 -72.5)
LCHlch(53.3 116.0 321.3)
OKLCHoklch(0.639 0.305 317.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d211ff on white: 3.99:1
AA ✗ fail · AA-large · AAA
Aa
#d211ff on black: 5.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green6.7%
Blue100.0%

CMYK percentages

Cyan17.6%
Magenta93.3%
Yellow0.0%
Key (black)0.0%

Color previews

#d211ff text on a black background

contrast 5.26:1

Card sample

#d211ff text on a white background

contrast 3.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 17, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 17, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d211ff;
background: linear-gradient(135deg, #d211ff, #FF118D);

Monochromatic scale

Palettes built from #d211ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d211ff in the Color Lab