Skip to content

#df95f6

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

RGB
223, 149, 246
HSL
286°, 84%, 78%
CMYK
9, 39, 0, 4
Luminance
0.4384

Every format

HEX#df95f6
RGBrgb(223, 149, 246)
HSLhsl(286, 84%, 78%)
CMYKcmyk(9%, 39%, 0%, 4%)
LABlab(72.1 43.8 -37.5)
LCHlch(72.1 57.7 319.4)
OKLCHoklch(0.777 0.154 317.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df95f6 on white: 2.15:1
AA ✗ fail · AA-large · AAA
Aa
#df95f6 on black: 9.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green58.4%
Blue96.5%

CMYK percentages

Cyan9.3%
Magenta39.4%
Yellow0.0%
Key (black)3.5%

Color previews

#df95f6 text on a black background

contrast 9.77:1

Card sample

#df95f6 text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df95f6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df95f6 in the Color Lab