Skip to content

#cdbafe

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

RGB
205, 186, 254
HSL
257°, 97%, 86%
CMYK
19, 27, 0, 0
Luminance
0.5525

Every format

HEX#cdbafe
RGBrgb(205, 186, 254)
HSLhsl(257, 97%, 86%)
CMYKcmyk(19%, 27%, 0%, 0%)
LABlab(79.2 20.1 -31.1)
LCHlch(79.2 37.0 302.9)
OKLCHoklch(0.828 0.096 297.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green72.9%
Blue99.6%

CMYK percentages

Cyan19.3%
Magenta26.8%
Yellow0.0%
Key (black)0.4%

Color previews

#cdbafe text on a black background

contrast 12.05:1

Card sample

#cdbafe text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdbafe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdbafe in the Color Lab