Skip to content

#df5ff5

a light, electric magenta / pink · warm · closest name: violet

RGB
223, 95, 245
HSL
291°, 88%, 67%
CMYK
9, 61, 0, 4
Luminance
0.3046

Every format

HEX#df5ff5
RGBrgb(223, 95, 245)
HSLhsl(291, 88%, 67%)
CMYKcmyk(9%, 61%, 0%, 4%)
LABlab(62.1 69.9 -52.8)
LCHlch(62.1 87.6 322.9)
OKLCHoklch(0.703 0.236 321.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df5ff5 on white: 2.96:1
AA ✗ fail · AA-large · AAA
Aa
#df5ff5 on black: 7.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green37.3%
Blue96.1%

CMYK percentages

Cyan9.0%
Magenta61.2%
Yellow0.0%
Key (black)3.9%

Color previews

#df5ff5 text on a black background

contrast 7.09:1

Card sample

#df5ff5 text on a white background

contrast 2.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df5ff5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df5ff5 in the Color Lab