Skip to content

#cdaafd

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

RGB
205, 170, 253
HSL
265°, 95%, 83%
CMYK
19, 33, 0, 1
Luminance
0.4882

Every format

HEX#cdaafd
RGBrgb(205, 170, 253)
HSLhsl(265, 95%, 83%)
CMYKcmyk(19%, 33%, 0%, 1%)
LABlab(75.3 28.6 -36.5)
LCHlch(75.3 46.4 308.1)
OKLCHoklch(0.799 0.120 303.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdaafd on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#cdaafd on black: 10.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green66.7%
Blue99.2%

CMYK percentages

Cyan19.0%
Magenta32.8%
Yellow0.0%
Key (black)0.8%

Color previews

#cdaafd text on a black background

contrast 10.76:1

Card sample

#cdaafd text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdaafd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdaafd in the Color Lab