Skip to content

#dba2f4

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

RGB
219, 162, 244
HSL
282°, 79%, 80%
CMYK
10, 34, 0, 4
Luminance
0.4743

Every format

HEX#dba2f4
RGBrgb(219, 162, 244)
HSLhsl(282, 79%, 80%)
CMYKcmyk(10%, 34%, 0%, 4%)
LABlab(74.5 35.3 -32.9)
LCHlch(74.5 48.2 317.0)
OKLCHoklch(0.794 0.128 315.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dba2f4 on white: 2.00:1
AA ✗ fail · AA-large · AAA
Aa
#dba2f4 on black: 10.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green63.5%
Blue95.7%

CMYK percentages

Cyan10.2%
Magenta33.6%
Yellow0.0%
Key (black)4.3%

Color previews

#dba2f4 text on a black background

contrast 10.49:1

Card sample

#dba2f4 text on a white background

contrast 2.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dba2f4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dba2f4 in the Color Lab