Skip to content

#cdbaef

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

RGB
205, 186, 239
HSL
262°, 62%, 83%
CMYK
14, 22, 0, 6
Luminance
0.5433

Every format

HEX#cdbaef
RGBrgb(205, 186, 239)
HSLhsl(262, 62%, 83%)
CMYKcmyk(14%, 22%, 0%, 6%)
LABlab(78.7 16.9 -23.9)
LCHlch(78.7 29.2 305.3)
OKLCHoklch(0.822 0.076 301.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdbaef on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#cdbaef on black: 11.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green72.9%
Blue93.7%

CMYK percentages

Cyan14.2%
Magenta22.2%
Yellow0.0%
Key (black)6.3%

Color previews

#cdbaef text on a black background

contrast 11.87:1

Card sample

#cdbaef text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdbaef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdbaef in the Color Lab