Skip to content

#d1aaff

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

RGB
209, 170, 255
HSL
268°, 100%, 83%
CMYK
18, 33, 0, 0
Luminance
0.4952

Every format

HEX#d1aaff
RGBrgb(209, 170, 255)
HSLhsl(268, 100%, 83%)
CMYKcmyk(18%, 33%, 0%, 0%)
LABlab(75.8 30.3 -36.9)
LCHlch(75.8 47.7 309.4)
OKLCHoklch(0.803 0.124 304.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d1aaff on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#d1aaff on black: 10.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.0%
Green66.7%
Blue100.0%

CMYK percentages

Cyan18.0%
Magenta33.3%
Yellow0.0%
Key (black)0.0%

Color previews

#d1aaff text on a black background

contrast 10.90:1

Card sample

#d1aaff text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(209, 170, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(209, 170, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d1aaff;
background: linear-gradient(135deg, #d1aaff, #FFAAF4);

Monochromatic scale

Palettes built from #d1aaff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d1aaff in the Color Lab