Skip to content

#dba2f0

a light, vivid violet · warm · closest name: plum

RGB
219, 162, 240
HSL
284°, 72%, 79%
CMYK
9, 33, 0, 6
Luminance
0.4719

Every format

HEX#dba2f0
RGBrgb(219, 162, 240)
HSLhsl(284, 72%, 79%)
CMYKcmyk(9%, 33%, 0%, 6%)
LABlab(74.3 34.5 -30.9)
LCHlch(74.3 46.3 318.1)
OKLCHoklch(0.792 0.123 316.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dba2f0 on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#dba2f0 on black: 10.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green63.5%
Blue94.1%

CMYK percentages

Cyan8.8%
Magenta32.5%
Yellow0.0%
Key (black)5.9%

Color previews

#dba2f0 text on a black background

contrast 10.44:1

Card sample

#dba2f0 text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dba2f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dba2f0 in the Color Lab