Skip to content

#da7af4

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

RGB
218, 122, 244
HSL
287°, 85%, 72%
CMYK
11, 50, 0, 4
Luminance
0.3536

Every format

HEX#da7af4
RGBrgb(218, 122, 244)
HSLhsl(287, 85%, 72%)
CMYKcmyk(11%, 50%, 0%, 4%)
LABlab(66.0 55.9 -46.0)
LCHlch(66.0 72.4 320.5)
OKLCHoklch(0.730 0.194 318.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#da7af4 on white: 2.60:1
AA ✗ fail · AA-large · AAA
Aa
#da7af4 on black: 8.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green47.8%
Blue95.7%

CMYK percentages

Cyan10.7%
Magenta50.0%
Yellow0.0%
Key (black)4.3%

Color previews

#da7af4 text on a black background

contrast 8.07:1

Card sample

#da7af4 text on a white background

contrast 2.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #da7af4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #da7af4 in the Color Lab