Skip to content

#df46ff

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

RGB
223, 70, 255
HSL
290°, 100%, 64%
CMYK
13, 73, 0, 0
Luminance
0.2729

Every format

HEX#df46ff
RGBrgb(223, 70, 255)
HSLhsl(290, 100%, 64%)
CMYKcmyk(13%, 73%, 0%, 0%)
LABlab(59.2 81.1 -62.8)
LCHlch(59.2 102.6 322.2)
OKLCHoklch(0.684 0.274 320.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df46ff on white: 3.25:1
AA ✗ fail · AA-large · AAA
Aa
#df46ff on black: 6.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green27.5%
Blue100.0%

CMYK percentages

Cyan12.5%
Magenta72.5%
Yellow0.0%
Key (black)0.0%

Color previews

#df46ff text on a black background

contrast 6.46:1

Card sample

#df46ff text on a white background

contrast 3.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df46ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df46ff in the Color Lab