Skip to content

#db92f2

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

RGB
219, 146, 242
HSL
286°, 79%, 76%
CMYK
10, 40, 0, 5
Luminance
0.4203

Every format

HEX#db92f2
RGBrgb(219, 146, 242)
HSLhsl(286, 79%, 76%)
CMYKcmyk(10%, 40%, 0%, 5%)
LABlab(70.9 43.4 -37.3)
LCHlch(70.9 57.3 319.3)
OKLCHoklch(0.767 0.153 317.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db92f2 on white: 2.23:1
AA ✗ fail · AA-large · AAA
Aa
#db92f2 on black: 9.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green57.3%
Blue94.9%

CMYK percentages

Cyan9.5%
Magenta39.7%
Yellow0.0%
Key (black)5.1%

Color previews

#db92f2 text on a black background

contrast 9.41:1

Card sample

#db92f2 text on a white background

contrast 2.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db92f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #db92f2 in the Color Lab