Skip to content

#d080fe

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

RGB
208, 128, 254
HSL
278°, 98%, 75%
CMYK
18, 50, 0, 0
Luminance
0.3600

Every format

HEX#d080fe
RGBrgb(208, 128, 254)
HSLhsl(278, 98%, 75%)
CMYKcmyk(18%, 50%, 0%, 0%)
LABlab(66.5 52.2 -50.8)
LCHlch(66.5 72.9 315.8)
OKLCHoklch(0.733 0.190 311.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d080fe on white: 2.56:1
AA ✗ fail · AA-large · AAA
Aa
#d080fe on black: 8.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green50.2%
Blue99.6%

CMYK percentages

Cyan18.1%
Magenta49.6%
Yellow0.0%
Key (black)0.4%

Color previews

#d080fe text on a black background

contrast 8.20:1

Card sample

#d080fe text on a white background

contrast 2.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d080fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d080fe in the Color Lab