Skip to content

#d06df9

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

RGB
208, 109, 249
HSL
282°, 92%, 70%
CMYK
17, 56, 0, 2
Luminance
0.3119

Every format

HEX#d06df9
RGBrgb(208, 109, 249)
HSLhsl(282, 92%, 70%)
CMYKcmyk(17%, 56%, 0%, 2%)
LABlab(62.7 60.7 -54.2)
LCHlch(62.7 81.3 318.2)
OKLCHoklch(0.704 0.214 314.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d06df9 on white: 2.90:1
AA ✗ fail · AA-large · AAA
Aa
#d06df9 on black: 7.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green42.7%
Blue97.6%

CMYK percentages

Cyan16.5%
Magenta56.2%
Yellow0.0%
Key (black)2.4%

Color previews

#d06df9 text on a black background

contrast 7.24:1

Card sample

#d06df9 text on a white background

contrast 2.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d06df9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d06df9 in the Color Lab