Skip to content

#dfb5f4

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

RGB
223, 181, 244
HSL
280°, 74%, 83%
CMYK
9, 26, 0, 4
Luminance
0.5527

Every format

HEX#dfb5f4
RGBrgb(223, 181, 244)
HSLhsl(280, 74%, 83%)
CMYKcmyk(9%, 26%, 0%, 4%)
LABlab(79.2 26.3 -25.6)
LCHlch(79.2 36.6 315.8)
OKLCHoklch(0.831 0.097 314.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb5f4 on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#dfb5f4 on black: 12.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green71.0%
Blue95.7%

CMYK percentages

Cyan8.6%
Magenta25.8%
Yellow0.0%
Key (black)4.3%

Color previews

#dfb5f4 text on a black background

contrast 12.05:1

Card sample

#dfb5f4 text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb5f4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb5f4 in the Color Lab