Skip to content

#d95df5

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

RGB
217, 93, 245
HSL
289°, 88%, 66%
CMYK
11, 62, 0, 4
Luminance
0.2917

Every format

HEX#d95df5
RGBrgb(217, 93, 245)
HSLhsl(289, 88%, 66%)
CMYKcmyk(11%, 62%, 0%, 4%)
LABlab(60.9 69.3 -54.6)
LCHlch(60.9 88.3 321.8)
OKLCHoklch(0.693 0.236 319.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d95df5 on white: 3.07:1
AA ✗ fail · AA-large · AAA
Aa
#d95df5 on black: 6.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.1%
Green36.5%
Blue96.1%

CMYK percentages

Cyan11.4%
Magenta62.0%
Yellow0.0%
Key (black)3.9%

Color previews

#d95df5 text on a black background

contrast 6.83:1

Card sample

#d95df5 text on a white background

contrast 3.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d95df5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d95df5 in the Color Lab