Skip to content

#d15df4

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

RGB
209, 93, 244
HSL
286°, 87%, 66%
CMYK
14, 62, 0, 4
Luminance
0.2792

Every format

HEX#d15df4
RGBrgb(209, 93, 244)
HSLhsl(286, 87%, 66%)
CMYKcmyk(14%, 62%, 0%, 4%)
LABlab(59.8 67.3 -55.9)
LCHlch(59.8 87.5 320.3)
OKLCHoklch(0.682 0.232 317.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d15df4 on white: 3.19:1
AA ✗ fail · AA-large · AAA
Aa
#d15df4 on black: 6.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.0%
Green36.5%
Blue95.7%

CMYK percentages

Cyan14.3%
Magenta61.9%
Yellow0.0%
Key (black)4.3%

Color previews

#d15df4 text on a black background

contrast 6.58:1

Card sample

#d15df4 text on a white background

contrast 3.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(209, 93, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(209, 93, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d15df4;
background: linear-gradient(135deg, #d15df4, #F45DB2);

Monochromatic scale

Palettes built from #d15df4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d15df4 in the Color Lab