Skip to content

#df82fd

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

RGB
223, 130, 253
HSL
285°, 97%, 75%
CMYK
12, 49, 0, 1
Luminance
0.3875

Every format

HEX#df82fd
RGBrgb(223, 130, 253)
HSLhsl(285, 97%, 75%)
CMYKcmyk(12%, 49%, 0%, 1%)
LABlab(68.6 55.0 -46.9)
LCHlch(68.6 72.3 319.5)
OKLCHoklch(0.752 0.193 317.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df82fd on white: 2.40:1
AA ✗ fail · AA-large · AAA
Aa
#df82fd on black: 8.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green51.0%
Blue99.2%

CMYK percentages

Cyan11.9%
Magenta48.6%
Yellow0.0%
Key (black)0.8%

Color previews

#df82fd text on a black background

contrast 8.75:1

Card sample

#df82fd text on a white background

contrast 2.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df82fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df82fd in the Color Lab