Skip to content

#cd5df6

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

RGB
205, 93, 246
HSL
284°, 90%, 67%
CMYK
17, 62, 0, 4
Luminance
0.2746

Every format

HEX#cd5df6
RGBrgb(205, 93, 246)
HSLhsl(284, 90%, 67%)
CMYKcmyk(17%, 62%, 0%, 4%)
LABlab(59.4 66.8 -57.7)
LCHlch(59.4 88.3 319.1)
OKLCHoklch(0.679 0.232 315.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd5df6 on white: 3.23:1
AA ✗ fail · AA-large · AAA
Aa
#cd5df6 on black: 6.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green36.5%
Blue96.5%

CMYK percentages

Cyan16.7%
Magenta62.2%
Yellow0.0%
Key (black)3.5%

Color previews

#cd5df6 text on a black background

contrast 6.49:1

Card sample

#cd5df6 text on a white background

contrast 3.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd5df6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd5df6 in the Color Lab