Skip to content

#d64df2

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

RGB
214, 77, 242
HSL
290°, 86%, 63%
CMYK
12, 68, 0, 5
Luminance
0.2601

Every format

HEX#d64df2
RGBrgb(214, 77, 242)
HSLhsl(290, 86%, 63%)
CMYKcmyk(12%, 68%, 0%, 5%)
LABlab(58.0 74.5 -57.6)
LCHlch(58.0 94.2 322.3)
OKLCHoklch(0.671 0.253 320.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d64df2 on white: 3.39:1
AA ✗ fail · AA-large · AAA
Aa
#d64df2 on black: 6.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.9%
Green30.2%
Blue94.9%

CMYK percentages

Cyan11.6%
Magenta68.2%
Yellow0.0%
Key (black)5.1%

Color previews

#d64df2 text on a black background

contrast 6.20:1

Card sample

#d64df2 text on a white background

contrast 3.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(214, 77, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(214, 77, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d64df2;
background: linear-gradient(135deg, #d64df2, #F24DA0);

Monochromatic scale

Palettes built from #d64df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d64df2 in the Color Lab