Skip to content

#cda2fd

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

RGB
205, 162, 253
HSL
268°, 96%, 81%
CMYK
19, 36, 0, 1
Luminance
0.4591

Every format

HEX#cda2fd
RGBrgb(205, 162, 253)
HSLhsl(268, 96%, 81%)
CMYKcmyk(19%, 36%, 0%, 1%)
LABlab(73.5 33.0 -39.4)
LCHlch(73.5 51.4 310.0)
OKLCHoklch(0.785 0.133 305.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cda2fd on white: 2.06:1
AA ✗ fail · AA-large · AAA
Aa
#cda2fd on black: 10.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green63.5%
Blue99.2%

CMYK percentages

Cyan19.0%
Magenta36.0%
Yellow0.0%
Key (black)0.8%

Color previews

#cda2fd text on a black background

contrast 10.18:1

Card sample

#cda2fd text on a white background

contrast 2.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cda2fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cda2fd in the Color Lab