Skip to content

#c29dfd

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

RGB
194, 157, 253
HSL
263°, 96%, 80%
CMYK
23, 38, 0, 1
Luminance
0.4268

Every format

HEX#c29dfd
RGBrgb(194, 157, 253)
HSLhsl(263, 96%, 80%)
CMYKcmyk(23%, 38%, 0%, 1%)
LABlab(71.3 32.6 -42.8)
LCHlch(71.3 53.8 307.3)
OKLCHoklch(0.766 0.139 300.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.1%
Green61.6%
Blue99.2%

CMYK percentages

Cyan23.3%
Magenta37.9%
Yellow0.0%
Key (black)0.8%

Color previews

#c29dfd text on a black background

contrast 9.54:1

Card sample

#c29dfd text on a white background

contrast 2.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c29dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c29dfd in the Color Lab