Skip to content

#cdaaff

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

RGB
205, 170, 255
HSL
265°, 100%, 83%
CMYK
20, 33, 0, 0
Luminance
0.4895

Every format

HEX#cdaaff
RGBrgb(205, 170, 255)
HSLhsl(265, 100%, 83%)
CMYKcmyk(20%, 33%, 0%, 0%)
LABlab(75.4 29.1 -37.4)
LCHlch(75.4 47.4 307.8)
OKLCHoklch(0.799 0.123 302.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green66.7%
Blue100.0%

CMYK percentages

Cyan19.6%
Magenta33.3%
Yellow0.0%
Key (black)0.0%

Color previews

#cdaaff text on a black background

contrast 10.79:1

Card sample

#cdaaff text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdaaff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdaaff in the Color Lab