Skip to content

#d06df0

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

RGB
208, 109, 240
HSL
285°, 81%, 68%
CMYK
13, 55, 0, 6
Luminance
0.3064

Every format

HEX#d06df0
RGBrgb(208, 109, 240)
HSLhsl(285, 81%, 68%)
CMYKcmyk(13%, 55%, 0%, 6%)
LABlab(62.2 58.9 -49.9)
LCHlch(62.2 77.2 319.7)
OKLCHoklch(0.699 0.205 317.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d06df0 on white: 2.95:1
AA ✗ fail · AA-large · AAA
Aa
#d06df0 on black: 7.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green42.7%
Blue94.1%

CMYK percentages

Cyan13.3%
Magenta54.6%
Yellow0.0%
Key (black)5.9%

Color previews

#d06df0 text on a black background

contrast 7.13:1

Card sample

#d06df0 text on a white background

contrast 2.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d06df0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d06df0 in the Color Lab