Skip to content

#d09cff

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

RGB
208, 156, 255
HSL
272°, 100%, 81%
CMYK
18, 39, 0, 0
Luminance
0.4441

Every format

HEX#d09cff
RGBrgb(208, 156, 255)
HSLhsl(272, 100%, 81%)
CMYKcmyk(18%, 39%, 0%, 0%)
LABlab(72.5 37.6 -42.0)
LCHlch(72.5 56.3 311.8)
OKLCHoklch(0.778 0.146 307.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d09cff on white: 2.13:1
AA ✗ fail · AA-large · AAA
Aa
#d09cff on black: 9.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green61.2%
Blue100.0%

CMYK percentages

Cyan18.4%
Magenta38.8%
Yellow0.0%
Key (black)0.0%

Color previews

#d09cff text on a black background

contrast 9.88:1

Card sample

#d09cff text on a white background

contrast 2.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d09cff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d09cff in the Color Lab