Skip to content

#ca9fdf

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

RGB
202, 159, 223
HSL
280°, 50%, 75%
CMYK
9, 29, 0, 13
Luminance
0.4268

Every format

HEX#ca9fdf
RGBrgb(202, 159, 223)
HSLhsl(280, 50%, 75%)
CMYKcmyk(9%, 29%, 0%, 13%)
LABlab(71.3 27.4 -26.4)
LCHlch(71.3 38.0 316.1)
OKLCHoklch(0.764 0.101 314.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ca9fdf on white: 2.20:1
AA ✗ fail · AA-large · AAA
Aa
#ca9fdf on black: 9.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green62.4%
Blue87.5%

CMYK percentages

Cyan9.4%
Magenta28.7%
Yellow0.0%
Key (black)12.5%

Color previews

#ca9fdf text on a black background

contrast 9.54:1

Card sample

#ca9fdf text on a white background

contrast 2.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(202, 159, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 159, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ca9fdf;
background: linear-gradient(135deg, #ca9fdf, #DF9FC9);

Monochromatic scale

Palettes built from #ca9fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ca9fdf in the Color Lab