Skip to content

#dfb2f3

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

RGB
223, 178, 243
HSL
282°, 73%, 83%
CMYK
8, 27, 0, 5
Luminance
0.5400

Every format

HEX#dfb2f3
RGBrgb(223, 178, 243)
HSLhsl(282, 73%, 83%)
CMYKcmyk(8%, 27%, 0%, 5%)
LABlab(78.5 27.7 -26.1)
LCHlch(78.5 38.1 316.6)
OKLCHoklch(0.825 0.101 315.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb2f3 on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#dfb2f3 on black: 11.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green69.8%
Blue95.3%

CMYK percentages

Cyan8.2%
Magenta26.7%
Yellow0.0%
Key (black)4.7%

Color previews

#dfb2f3 text on a black background

contrast 11.80:1

Card sample

#dfb2f3 text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb2f3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb2f3 in the Color Lab