Skip to content

#cd5dff

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

RGB
205, 93, 255
HSL
282°, 100%, 68%
CMYK
20, 64, 0, 0
Luminance
0.2803

Every format

HEX#cd5dff
RGBrgb(205, 93, 255)
HSLhsl(282, 100%, 68%)
CMYKcmyk(20%, 64%, 0%, 0%)
LABlab(59.9 68.5 -61.9)
LCHlch(59.9 92.4 317.9)
OKLCHoklch(0.684 0.241 313.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd5dff on white: 3.18:1
AA ✗ fail · AA-large · AAA
Aa
#cd5dff on black: 6.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green36.5%
Blue100.0%

CMYK percentages

Cyan19.6%
Magenta63.5%
Yellow0.0%
Key (black)0.0%

Color previews

#cd5dff text on a black background

contrast 6.61:1

Card sample

#cd5dff text on a white background

contrast 3.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd5dff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd5dff in the Color Lab