Skip to content

#cd89ff

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

RGB
205, 137, 255
HSL
275°, 100%, 77%
CMYK
20, 46, 0, 0
Luminance
0.3809

Every format

HEX#cd89ff
RGBrgb(205, 137, 255)
HSLhsl(275, 100%, 77%)
CMYKcmyk(20%, 46%, 0%, 0%)
LABlab(68.1 46.9 -48.9)
LCHlch(68.1 67.8 313.8)
OKLCHoklch(0.744 0.176 309.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd89ff on white: 2.44:1
AA ✗ fail · AA-large · AAA
Aa
#cd89ff on black: 8.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green53.7%
Blue100.0%

CMYK percentages

Cyan19.6%
Magenta46.3%
Yellow0.0%
Key (black)0.0%

Color previews

#cd89ff text on a black background

contrast 8.62:1

Card sample

#cd89ff text on a white background

contrast 2.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd89ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd89ff in the Color Lab