Skip to content

#df9af7

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

RGB
223, 154, 247
HSL
285°, 85%, 79%
CMYK
10, 38, 0, 3
Luminance
0.4551

Every format

HEX#df9af7
RGBrgb(223, 154, 247)
HSLhsl(285, 85%, 79%)
CMYKcmyk(10%, 38%, 0%, 3%)
LABlab(73.2 41.4 -36.4)
LCHlch(73.2 55.1 318.7)
OKLCHoklch(0.786 0.147 317.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df9af7 on white: 2.08:1
AA ✗ fail · AA-large · AAA
Aa
#df9af7 on black: 10.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green60.4%
Blue96.9%

CMYK percentages

Cyan9.7%
Magenta37.7%
Yellow0.0%
Key (black)3.1%

Color previews

#df9af7 text on a black background

contrast 10.10:1

Card sample

#df9af7 text on a white background

contrast 2.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df9af7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df9af7 in the Color Lab