Skip to content

#da7df0

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

RGB
218, 125, 240
HSL
289°, 79%, 72%
CMYK
9, 48, 0, 6
Luminance
0.3586

Every format

HEX#da7df0
RGBrgb(218, 125, 240)
HSLhsl(289, 79%, 72%)
CMYKcmyk(9%, 48%, 0%, 6%)
LABlab(66.4 53.6 -43.2)
LCHlch(66.4 68.9 321.1)
OKLCHoklch(0.733 0.185 319.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#da7df0 on white: 2.57:1
AA ✗ fail · AA-large · AAA
Aa
#da7df0 on black: 8.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green49.0%
Blue94.1%

CMYK percentages

Cyan9.2%
Magenta47.9%
Yellow0.0%
Key (black)5.9%

Color previews

#da7df0 text on a black background

contrast 8.17:1

Card sample

#da7df0 text on a white background

contrast 2.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #da7df0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #da7df0 in the Color Lab