Skip to content

#dfaffb

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

RGB
223, 175, 251
HSL
278°, 91%, 84%
CMYK
11, 30, 0, 2
Luminance
0.5331

Every format

HEX#dfaffb
RGBrgb(223, 175, 251)
HSLhsl(278, 91%, 84%)
CMYKcmyk(11%, 30%, 0%, 2%)
LABlab(78.1 30.9 -31.1)
LCHlch(78.1 43.8 314.9)
OKLCHoklch(0.823 0.116 312.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfaffb on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#dfaffb on black: 11.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green68.6%
Blue98.4%

CMYK percentages

Cyan11.2%
Magenta30.3%
Yellow0.0%
Key (black)1.6%

Color previews

#dfaffb text on a black background

contrast 11.66:1

Card sample

#dfaffb text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfaffb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfaffb in the Color Lab