Skip to content

#df8ffb

a light, electric violet · warm · closest name: violet

RGB
223, 143, 251
HSL
284°, 93%, 77%
CMYK
11, 43, 0, 2
Luminance
0.4230

Every format

HEX#df8ffb
RGBrgb(223, 143, 251)
HSLhsl(284, 93%, 77%)
CMYKcmyk(11%, 43%, 0%, 2%)
LABlab(71.1 48.0 -41.9)
LCHlch(71.1 63.7 318.9)
OKLCHoklch(0.770 0.169 316.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df8ffb on white: 2.22:1
AA ✗ fail · AA-large · AAA
Aa
#df8ffb on black: 9.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green56.1%
Blue98.4%

CMYK percentages

Cyan11.2%
Magenta43.0%
Yellow0.0%
Key (black)1.6%

Color previews

#df8ffb text on a black background

contrast 9.46:1

Card sample

#df8ffb text on a white background

contrast 2.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df8ffb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df8ffb in the Color Lab