Skip to content

#df9af8

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

RGB
223, 154, 248
HSL
284°, 87%, 79%
CMYK
10, 38, 0, 3
Luminance
0.4558

Every format

HEX#df9af8
RGBrgb(223, 154, 248)
HSLhsl(284, 87%, 79%)
CMYKcmyk(10%, 38%, 0%, 3%)
LABlab(73.3 41.6 -36.9)
LCHlch(73.3 55.5 318.4)
OKLCHoklch(0.786 0.148 316.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green60.4%
Blue97.3%

CMYK percentages

Cyan10.1%
Magenta37.9%
Yellow0.0%
Key (black)2.7%

Color previews

#df9af8 text on a black background

contrast 10.12:1

Card sample

#df9af8 text on a white background

contrast 2.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df9af8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df9af8 in the Color Lab