Skip to content

#df9afe

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

RGB
223, 154, 254
HSL
281°, 98%, 80%
CMYK
12, 39, 0, 0
Luminance
0.4595

Every format

HEX#df9afe
RGBrgb(223, 154, 254)
HSLhsl(281, 98%, 80%)
CMYKcmyk(12%, 39%, 0%, 0%)
LABlab(73.5 42.8 -39.7)
LCHlch(73.5 58.4 317.1)
OKLCHoklch(0.789 0.154 314.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df9afe on white: 2.06:1
AA ✗ fail · AA-large · AAA
Aa
#df9afe on black: 10.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green60.4%
Blue99.6%

CMYK percentages

Cyan12.2%
Magenta39.4%
Yellow0.0%
Key (black)0.4%

Color previews

#df9afe text on a black background

contrast 10.19:1

Card sample

#df9afe text on a white background

contrast 2.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df9afe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df9afe in the Color Lab