Skip to content

#df8af3

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

RGB
223, 138, 243
HSL
289°, 81%, 75%
CMYK
8, 43, 0, 5
Luminance
0.4034

Every format

HEX#df8af3
RGBrgb(223, 138, 243)
HSLhsl(289, 81%, 75%)
CMYKcmyk(8%, 43%, 0%, 5%)
LABlab(69.7 49.0 -39.7)
LCHlch(69.7 63.0 321.0)
OKLCHoklch(0.759 0.169 319.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df8af3 on white: 2.32:1
AA ✗ fail · AA-large · AAA
Aa
#df8af3 on black: 9.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green54.1%
Blue95.3%

CMYK percentages

Cyan8.2%
Magenta43.2%
Yellow0.0%
Key (black)4.7%

Color previews

#df8af3 text on a black background

contrast 9.07:1

Card sample

#df8af3 text on a white background

contrast 2.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df8af3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df8af3 in the Color Lab