Skip to content

#cdb1df

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

RGB
205, 177, 223
HSL
277°, 42%, 78%
CMYK
8, 21, 0, 13
Luminance
0.4975

Every format

HEX#cdb1df
RGBrgb(205, 177, 223)
HSLhsl(277, 42%, 78%)
CMYKcmyk(8%, 21%, 0%, 13%)
LABlab(75.9 18.5 -19.4)
LCHlch(75.9 26.8 313.7)
OKLCHoklch(0.799 0.071 312.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdb1df on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#cdb1df on black: 10.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green69.4%
Blue87.5%

CMYK percentages

Cyan8.1%
Magenta20.6%
Yellow0.0%
Key (black)12.5%

Color previews

#cdb1df text on a black background

contrast 10.95:1

Card sample

#cdb1df text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdb1df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdb1df in the Color Lab