Skip to content

#cda2db

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

RGB
205, 162, 219
HSL
285°, 44%, 75%
CMYK
6, 26, 0, 14
Luminance
0.4393

Every format

HEX#cda2db
RGBrgb(205, 162, 219)
HSLhsl(285, 44%, 75%)
CMYKcmyk(6%, 26%, 0%, 14%)
LABlab(72.2 25.9 -22.9)
LCHlch(72.2 34.5 318.6)
OKLCHoklch(0.770 0.092 317.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cda2db on white: 2.15:1
AA ✗ fail · AA-large · AAA
Aa
#cda2db on black: 9.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green63.5%
Blue85.9%

CMYK percentages

Cyan6.4%
Magenta26.0%
Yellow0.0%
Key (black)14.1%

Color previews

#cda2db text on a black background

contrast 9.79:1

Card sample

#cda2db text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cda2db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cda2db in the Color Lab