Skip to content

#dfa4f9

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

RGB
223, 164, 249
HSL
282°, 88%, 81%
CMYK
10, 34, 0, 2
Luminance
0.4908

Every format

HEX#dfa4f9
RGBrgb(223, 164, 249)
HSLhsl(282, 88%, 81%)
CMYKcmyk(10%, 34%, 0%, 2%)
LABlab(75.5 36.4 -33.9)
LCHlch(75.5 49.8 317.0)
OKLCHoklch(0.803 0.132 315.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfa4f9 on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#dfa4f9 on black: 10.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green64.3%
Blue97.6%

CMYK percentages

Cyan10.4%
Magenta34.1%
Yellow0.0%
Key (black)2.4%

Color previews

#dfa4f9 text on a black background

contrast 10.82:1

Card sample

#dfa4f9 text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfa4f9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfa4f9 in the Color Lab