Skip to content

#df82f8

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

RGB
223, 130, 248
HSL
287°, 89%, 74%
CMYK
10, 48, 0, 3
Luminance
0.3843

Every format

HEX#df82f8
RGBrgb(223, 130, 248)
HSLhsl(287, 89%, 74%)
CMYKcmyk(10%, 48%, 0%, 3%)
LABlab(68.3 54.0 -44.5)
LCHlch(68.3 70.0 320.5)
OKLCHoklch(0.749 0.187 318.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df82f8 on white: 2.42:1
AA ✗ fail · AA-large · AAA
Aa
#df82f8 on black: 8.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green51.0%
Blue97.3%

CMYK percentages

Cyan10.1%
Magenta47.6%
Yellow0.0%
Key (black)2.7%

Color previews

#df82f8 text on a black background

contrast 8.69:1

Card sample

#df82f8 text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df82f8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df82f8 in the Color Lab