Skip to content

#d3affc

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

RGB
211, 175, 252
HSL
268°, 93%, 84%
CMYK
16, 31, 0, 1
Luminance
0.5154

Every format

HEX#d3affc
RGBrgb(211, 175, 252)
HSLhsl(268, 93%, 84%)
CMYKcmyk(16%, 31%, 0%, 1%)
LABlab(77.0 27.5 -33.3)
LCHlch(77.0 43.2 309.5)
OKLCHoklch(0.813 0.113 305.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d3affc on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#d3affc on black: 11.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.7%
Green68.6%
Blue98.8%

CMYK percentages

Cyan16.3%
Magenta30.6%
Yellow0.0%
Key (black)1.2%

Color previews

#d3affc text on a black background

contrast 11.31:1

Card sample

#d3affc text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d3affc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d3affc in the Color Lab