Skip to content

#da3afd

a balanced, electric violet · warm · closest name: magenta

RGB
218, 58, 253
HSL
289°, 98%, 61%
CMYK
14, 77, 0, 1
Luminance
0.2502

Every format

HEX#da3afd
RGBrgb(218, 58, 253)
HSLhsl(289, 98%, 61%)
CMYKcmyk(14%, 77%, 0%, 1%)
LABlab(57.1 83.5 -65.2)
LCHlch(57.1 106.0 322.0)
OKLCHoklch(0.667 0.282 319.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#da3afd on white: 3.50:1
AA ✗ fail · AA-large · AAA
Aa
#da3afd on black: 6.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green22.7%
Blue99.2%

CMYK percentages

Cyan13.8%
Magenta77.1%
Yellow0.0%
Key (black)0.8%

Color previews

#da3afd text on a black background

contrast 6.00:1

Card sample

#da3afd text on a white background

contrast 3.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #da3afd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #da3afd in the Color Lab