Skip to content

#cdb8eb

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

RGB
205, 184, 235
HSL
265°, 56%, 82%
CMYK
13, 22, 0, 8
Luminance
0.5326

Every format

HEX#cdb8eb
RGBrgb(205, 184, 235)
HSLhsl(265, 56%, 82%)
CMYKcmyk(13%, 22%, 0%, 8%)
LABlab(78.0 17.1 -22.6)
LCHlch(78.0 28.4 307.1)
OKLCHoklch(0.817 0.074 303.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdb8eb on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#cdb8eb on black: 11.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green72.2%
Blue92.2%

CMYK percentages

Cyan12.8%
Magenta21.7%
Yellow0.0%
Key (black)7.8%

Color previews

#cdb8eb text on a black background

contrast 11.65:1

Card sample

#cdb8eb text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdb8eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdb8eb in the Color Lab