Skip to content

#cd8ff4

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

RGB
205, 143, 244
HSL
277°, 82%, 76%
CMYK
16, 41, 0, 4
Luminance
0.3916

Every format

HEX#cd8ff4
RGBrgb(205, 143, 244)
HSLhsl(277, 82%, 76%)
CMYKcmyk(16%, 41%, 0%, 4%)
LABlab(68.9 41.4 -41.7)
LCHlch(68.9 58.7 314.8)
OKLCHoklch(0.748 0.154 311.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd8ff4 on white: 2.38:1
AA ✗ fail · AA-large · AAA
Aa
#cd8ff4 on black: 8.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green56.1%
Blue95.7%

CMYK percentages

Cyan16.0%
Magenta41.4%
Yellow0.0%
Key (black)4.3%

Color previews

#cd8ff4 text on a black background

contrast 8.83:1

Card sample

#cd8ff4 text on a white background

contrast 2.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd8ff4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd8ff4 in the Color Lab