Skip to content

#d38df4

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

RGB
211, 141, 244
HSL
281°, 82%, 76%
CMYK
14, 42, 0, 4
Luminance
0.3943

Every format

HEX#d38df4
RGBrgb(211, 141, 244)
HSLhsl(281, 82%, 76%)
CMYKcmyk(14%, 42%, 0%, 4%)
LABlab(69.1 44.2 -41.3)
LCHlch(69.1 60.5 316.9)
OKLCHoklch(0.751 0.160 314.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d38df4 on white: 2.36:1
AA ✗ fail · AA-large · AAA
Aa
#d38df4 on black: 8.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.7%
Green55.3%
Blue95.7%

CMYK percentages

Cyan13.5%
Magenta42.2%
Yellow0.0%
Key (black)4.3%

Color previews

#d38df4 text on a black background

contrast 8.89:1

Card sample

#d38df4 text on a white background

contrast 2.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d38df4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d38df4 in the Color Lab