Skip to content

#da7dfb

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

RGB
218, 125, 251
HSL
284°, 94%, 74%
CMYK
13, 50, 0, 2
Luminance
0.3654

Every format

HEX#da7dfb
RGBrgb(218, 125, 251)
HSLhsl(284, 94%, 74%)
CMYKcmyk(13%, 50%, 0%, 2%)
LABlab(66.9 55.8 -48.5)
LCHlch(66.9 73.9 319.0)
OKLCHoklch(0.738 0.196 316.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#da7dfb on white: 2.53:1
AA ✗ fail · AA-large · AAA
Aa
#da7dfb on black: 8.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green49.0%
Blue98.4%

CMYK percentages

Cyan13.1%
Magenta50.2%
Yellow0.0%
Key (black)1.6%

Color previews

#da7dfb text on a black background

contrast 8.31:1

Card sample

#da7dfb text on a white background

contrast 2.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(218, 125, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(218, 125, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #da7dfb;
background: linear-gradient(135deg, #da7dfb, #FB7DC8);

Monochromatic scale

Palettes built from #da7dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #da7dfb in the Color Lab