Skip to content

#d080fb

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

RGB
208, 128, 251
HSL
279°, 94%, 74%
CMYK
17, 49, 0, 2
Luminance
0.3581

Every format

HEX#d080fb
RGBrgb(208, 128, 251)
HSLhsl(279, 94%, 74%)
CMYKcmyk(17%, 49%, 0%, 2%)
LABlab(66.4 51.6 -49.4)
LCHlch(66.4 71.4 316.3)
OKLCHoklch(0.732 0.187 312.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d080fb on white: 2.57:1
AA ✗ fail · AA-large · AAA
Aa
#d080fb on black: 8.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green50.2%
Blue98.4%

CMYK percentages

Cyan17.1%
Magenta49.0%
Yellow0.0%
Key (black)1.6%

Color previews

#d080fb text on a black background

contrast 8.16:1

Card sample

#d080fb text on a white background

contrast 2.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d080fb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d080fb in the Color Lab