Skip to content

#dba5ff

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

RGB
219, 165, 255
HSL
276°, 100%, 82%
CMYK
14, 35, 0, 0
Luminance
0.4919

Every format

HEX#dba5ff
RGBrgb(219, 165, 255)
HSLhsl(276, 100%, 82%)
CMYKcmyk(14%, 35%, 0%, 0%)
LABlab(75.6 35.9 -37.1)
LCHlch(75.6 51.6 314.1)
OKLCHoklch(0.804 0.136 311.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dba5ff on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#dba5ff on black: 10.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green64.7%
Blue100.0%

CMYK percentages

Cyan14.1%
Magenta35.3%
Yellow0.0%
Key (black)0.0%

Color previews

#dba5ff text on a black background

contrast 10.84:1

Card sample

#dba5ff text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dba5ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dba5ff in the Color Lab