Skip to content

#dfb3ef

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

RGB
223, 179, 239
HSL
284°, 65%, 82%
CMYK
7, 25, 0, 6
Luminance
0.5416

Every format

HEX#dfb3ef
RGBrgb(223, 179, 239)
HSLhsl(284, 65%, 82%)
CMYKcmyk(7%, 25%, 0%, 6%)
LABlab(78.6 26.4 -23.9)
LCHlch(78.6 35.6 317.9)
OKLCHoklch(0.825 0.095 316.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb3ef on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#dfb3ef on black: 11.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green70.2%
Blue93.7%

CMYK percentages

Cyan6.7%
Magenta25.1%
Yellow0.0%
Key (black)6.3%

Color previews

#dfb3ef text on a black background

contrast 11.83:1

Card sample

#dfb3ef text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb3ef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb3ef in the Color Lab