Skip to content

#cdbaff

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

RGB
205, 186, 255
HSL
257°, 100%, 87%
CMYK
20, 27, 0, 0
Luminance
0.5532

Every format

HEX#cdbaff
RGBrgb(205, 186, 255)
HSLhsl(257, 100%, 87%)
CMYKcmyk(20%, 27%, 0%, 0%)
LABlab(79.2 20.3 -31.6)
LCHlch(79.2 37.5 302.8)
OKLCHoklch(0.829 0.097 296.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdbaff on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#cdbaff on black: 12.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green72.9%
Blue100.0%

CMYK percentages

Cyan19.6%
Magenta27.1%
Yellow0.0%
Key (black)0.0%

Color previews

#cdbaff text on a black background

contrast 12.06:1

Card sample

#cdbaff text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdbaff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdbaff in the Color Lab