Skip to content

#cd84ff

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

RGB
205, 132, 255
HSL
276°, 100%, 76%
CMYK
20, 48, 0, 0
Luminance
0.3670

Every format

HEX#cd84ff
RGBrgb(205, 132, 255)
HSLhsl(276, 100%, 76%)
CMYKcmyk(20%, 48%, 0%, 0%)
LABlab(67.0 49.6 -50.5)
LCHlch(67.0 70.8 314.4)
OKLCHoklch(0.737 0.184 310.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd84ff on white: 2.52:1
AA ✗ fail · AA-large · AAA
Aa
#cd84ff on black: 8.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green51.8%
Blue100.0%

CMYK percentages

Cyan19.6%
Magenta48.2%
Yellow0.0%
Key (black)0.0%

Color previews

#cd84ff text on a black background

contrast 8.34:1

Card sample

#cd84ff text on a white background

contrast 2.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd84ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd84ff in the Color Lab