Skip to content

#df8cff

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

RGB
223, 140, 255
HSL
283°, 100%, 78%
CMYK
13, 45, 0, 0
Luminance
0.4166

Every format

HEX#df8cff
RGBrgb(223, 140, 255)
HSLhsl(283, 100%, 78%)
CMYKcmyk(13%, 45%, 0%, 0%)
LABlab(70.6 50.3 -44.8)
LCHlch(70.6 67.3 318.3)
OKLCHoklch(0.767 0.179 316.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df8cff on white: 2.25:1
AA ✗ fail · AA-large · AAA
Aa
#df8cff on black: 9.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green54.9%
Blue100.0%

CMYK percentages

Cyan12.5%
Magenta45.1%
Yellow0.0%
Key (black)0.0%

Color previews

#df8cff text on a black background

contrast 9.33:1

Card sample

#df8cff text on a white background

contrast 2.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df8cff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df8cff in the Color Lab