Skip to content

#dfa7df

a light, vivid magenta / pink · warm · closest name: plum

RGB
223, 167, 223
HSL
300°, 47%, 77%
CMYK
0, 25, 0, 13
Luminance
0.4865

Every format

HEX#dfa7df
RGBrgb(223, 167, 223)
HSLhsl(300, 47%, 77%)
CMYKcmyk(0%, 25%, 0%, 13%)
LABlab(75.2 29.8 -20.2)
LCHlch(75.2 36.0 325.8)
OKLCHoklch(0.798 0.099 326.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfa7df on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#dfa7df on black: 10.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green65.5%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta25.1%
Yellow0.0%
Key (black)12.5%

Color previews

#dfa7df text on a black background

contrast 10.73:1

Card sample

#dfa7df text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfa7df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfa7df in the Color Lab