Skip to content

#cd55ff

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

RGB
205, 85, 255
HSL
282°, 100%, 67%
CMYK
20, 67, 0, 0
Luminance
0.2670

Every format

HEX#cd55ff
RGBrgb(205, 85, 255)
HSLhsl(282, 100%, 67%)
CMYKcmyk(20%, 67%, 0%, 0%)
LABlab(58.7 72.0 -63.9)
LCHlch(58.7 96.2 318.4)
OKLCHoklch(0.675 0.251 314.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd55ff on white: 3.31:1
AA ✗ fail · AA-large · AAA
Aa
#cd55ff on black: 6.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green33.3%
Blue100.0%

CMYK percentages

Cyan19.6%
Magenta66.7%
Yellow0.0%
Key (black)0.0%

Color previews

#cd55ff text on a black background

contrast 6.34:1

Card sample

#cd55ff text on a white background

contrast 3.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd55ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd55ff in the Color Lab