Skip to content

#cdadfb

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

RGB
205, 173, 251
HSL
265°, 91%, 83%
CMYK
18, 31, 0, 2
Luminance
0.4983

Every format

HEX#cdadfb
RGBrgb(205, 173, 251)
HSLhsl(265, 91%, 83%)
CMYKcmyk(18%, 31%, 0%, 2%)
LABlab(76.0 26.5 -34.4)
LCHlch(76.0 43.5 307.6)
OKLCHoklch(0.803 0.113 302.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdadfb on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#cdadfb on black: 10.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green67.8%
Blue98.4%

CMYK percentages

Cyan18.3%
Magenta31.1%
Yellow0.0%
Key (black)1.6%

Color previews

#cdadfb text on a black background

contrast 10.97:1

Card sample

#cdadfb text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdadfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdadfb in the Color Lab