Skip to content

#db9eff

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

RGB
219, 158, 255
HSL
278°, 100%, 81%
CMYK
14, 38, 0, 0
Luminance
0.4673

Every format

HEX#db9eff
RGBrgb(219, 158, 255)
HSLhsl(278, 100%, 81%)
CMYKcmyk(14%, 38%, 0%, 0%)
LABlab(74.0 39.7 -39.5)
LCHlch(74.0 56.0 315.1)
OKLCHoklch(0.792 0.147 312.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db9eff on white: 2.03:1
AA ✗ fail · AA-large · AAA
Aa
#db9eff on black: 10.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green62.0%
Blue100.0%

CMYK percentages

Cyan14.1%
Magenta38.0%
Yellow0.0%
Key (black)0.0%

Color previews

#db9eff text on a black background

contrast 10.35:1

Card sample

#db9eff text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db9eff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #db9eff in the Color Lab