Skip to content

#df99ff

a light, electric violet · warm · closest name: violet

RGB
223, 153, 255
HSL
281°, 100%, 80%
CMYK
13, 40, 0, 0
Luminance
0.4569

Every format

HEX#df99ff
RGBrgb(223, 153, 255)
HSLhsl(281, 100%, 80%)
CMYKcmyk(13%, 40%, 0%, 0%)
LABlab(73.3 43.5 -40.5)
LCHlch(73.3 59.5 317.0)
OKLCHoklch(0.788 0.157 314.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df99ff on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#df99ff on black: 10.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green60.0%
Blue100.0%

CMYK percentages

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

Color previews

#df99ff text on a black background

contrast 10.14:1

Card sample

#df99ff text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df99ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df99ff in the Color Lab