Skip to content

#cd8df0

a light, electric violet · warm · closest name: violet

RGB
205, 141, 240
HSL
279°, 77%, 75%
CMYK
15, 41, 0, 6
Luminance
0.3832

Every format

HEX#cd8df0
RGBrgb(205, 141, 240)
HSLhsl(279, 77%, 75%)
CMYKcmyk(15%, 41%, 0%, 6%)
LABlab(68.3 41.6 -40.4)
LCHlch(68.3 58.0 315.8)
OKLCHoklch(0.743 0.153 312.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd8df0 on white: 2.42:1
AA ✗ fail · AA-large · AAA
Aa
#cd8df0 on black: 8.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green55.3%
Blue94.1%

CMYK percentages

Cyan14.6%
Magenta41.3%
Yellow0.0%
Key (black)5.9%

Color previews

#cd8df0 text on a black background

contrast 8.66:1

Card sample

#cd8df0 text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd8df0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd8df0 in the Color Lab