Skip to content

#db39ff

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

RGB
219, 57, 255
HSL
289°, 100%, 61%
CMYK
14, 78, 0, 0
Luminance
0.2521

Every format

HEX#db39ff
RGBrgb(219, 57, 255)
HSLhsl(289, 100%, 61%)
CMYKcmyk(14%, 78%, 0%, 0%)
LABlab(57.3 84.3 -66.0)
LCHlch(57.3 107.1 321.9)
OKLCHoklch(0.669 0.285 319.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db39ff on white: 3.48:1
AA ✗ fail · AA-large · AAA
Aa
#db39ff on black: 6.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green22.4%
Blue100.0%

CMYK percentages

Cyan14.1%
Magenta77.6%
Yellow0.0%
Key (black)0.0%

Color previews

#db39ff text on a black background

contrast 6.04:1

Card sample

#db39ff text on a white background

contrast 3.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(219, 57, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(219, 57, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #db39ff;
background: linear-gradient(135deg, #db39ff, #FF399F);

Monochromatic scale

Palettes built from #db39ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #db39ff in the Color Lab