Skip to content

#cdaffb

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

RGB
205, 175, 251
HSL
264°, 91%, 84%
CMYK
18, 30, 0, 2
Luminance
0.5060

Every format

HEX#cdaffb
RGBrgb(205, 175, 251)
HSLhsl(264, 91%, 84%)
CMYKcmyk(18%, 30%, 0%, 2%)
LABlab(76.4 25.4 -33.7)
LCHlch(76.4 42.2 307.1)
OKLCHoklch(0.807 0.110 302.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdaffb on white: 1.89:1
AA ✗ fail · AA-large · AAA
Aa
#cdaffb on black: 11.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green68.6%
Blue98.4%

CMYK percentages

Cyan18.3%
Magenta30.3%
Yellow0.0%
Key (black)1.6%

Color previews

#cdaffb text on a black background

contrast 11.12:1

Card sample

#cdaffb text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdaffb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdaffb in the Color Lab