Skip to content

#d37dfd

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

RGB
211, 125, 253
HSL
280°, 97%, 74%
CMYK
17, 51, 0, 1
Luminance
0.3561

Every format

HEX#d37dfd
RGBrgb(211, 125, 253)
HSLhsl(280, 97%, 74%)
CMYKcmyk(17%, 51%, 0%, 1%)
LABlab(66.2 54.3 -50.7)
LCHlch(66.2 74.3 317.0)
OKLCHoklch(0.732 0.195 313.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d37dfd on white: 2.59:1
AA ✗ fail · AA-large · AAA
Aa
#d37dfd on black: 8.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.7%
Green49.0%
Blue99.2%

CMYK percentages

Cyan16.6%
Magenta50.6%
Yellow0.0%
Key (black)0.8%

Color previews

#d37dfd text on a black background

contrast 8.12:1

Card sample

#d37dfd text on a white background

contrast 2.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(211, 125, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(211, 125, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d37dfd;
background: linear-gradient(135deg, #d37dfd, #FD7DD2);

Monochromatic scale

Palettes built from #d37dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d37dfd in the Color Lab