Skip to content

#dfb7f0

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

RGB
223, 183, 240
HSL
282°, 66%, 83%
CMYK
7, 24, 0, 6
Luminance
0.5585

Every format

HEX#dfb7f0
RGBrgb(223, 183, 240)
HSLhsl(282, 66%, 83%)
CMYKcmyk(7%, 24%, 0%, 6%)
LABlab(79.5 24.4 -22.9)
LCHlch(79.5 33.5 316.8)
OKLCHoklch(0.833 0.089 315.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb7f0 on white: 1.73:1
AA ✗ fail · AA-large · AAA
Aa
#dfb7f0 on black: 12.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green71.8%
Blue94.1%

CMYK percentages

Cyan7.1%
Magenta23.8%
Yellow0.0%
Key (black)5.9%

Color previews

#dfb7f0 text on a black background

contrast 12.17:1

Card sample

#dfb7f0 text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb7f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb7f0 in the Color Lab