Skip to content

#d38df3

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

RGB
211, 141, 243
HSL
281°, 81%, 75%
CMYK
13, 42, 0, 5
Luminance
0.3937

Every format

HEX#d38df3
RGBrgb(211, 141, 243)
HSLhsl(281, 81%, 75%)
CMYKcmyk(13%, 42%, 0%, 5%)
LABlab(69.0 44.0 -40.8)
LCHlch(69.0 60.0 317.1)
OKLCHoklch(0.751 0.159 314.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d38df3 on white: 2.37:1
AA ✗ fail · AA-large · AAA
Aa
#d38df3 on black: 8.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan13.2%
Magenta42.0%
Yellow0.0%
Key (black)4.7%

Color previews

#d38df3 text on a black background

contrast 8.87:1

Card sample

#d38df3 text on a white background

contrast 2.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d38df3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d38df3 in the Color Lab