Skip to content

#dfafff

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

RGB
223, 175, 255
HSL
276°, 100%, 84%
CMYK
13, 31, 0, 0
Luminance
0.5357

Every format

HEX#dfafff
RGBrgb(223, 175, 255)
HSLhsl(276, 100%, 84%)
CMYKcmyk(13%, 31%, 0%, 0%)
LABlab(78.2 31.7 -33.0)
LCHlch(78.2 45.8 313.9)
OKLCHoklch(0.825 0.120 311.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfafff on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#dfafff on black: 11.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green68.6%
Blue100.0%

CMYK percentages

Cyan12.5%
Magenta31.4%
Yellow0.0%
Key (black)0.0%

Color previews

#dfafff text on a black background

contrast 11.71:1

Card sample

#dfafff text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfafff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfafff in the Color Lab