Skip to content

#cd91ff

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

RGB
205, 145, 255
HSL
273°, 100%, 78%
CMYK
20, 43, 0, 0
Luminance
0.4045

Every format

HEX#cd91ff
RGBrgb(205, 145, 255)
HSLhsl(273, 100%, 78%)
CMYKcmyk(20%, 43%, 0%, 0%)
LABlab(69.8 42.7 -46.2)
LCHlch(69.8 62.9 312.7)
OKLCHoklch(0.757 0.163 308.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd91ff on white: 2.31:1
AA ✗ fail · AA-large · AAA
Aa
#cd91ff on black: 9.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green56.9%
Blue100.0%

CMYK percentages

Cyan19.6%
Magenta43.1%
Yellow0.0%
Key (black)0.0%

Color previews

#cd91ff text on a black background

contrast 9.09:1

Card sample

#cd91ff text on a white background

contrast 2.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd91ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd91ff in the Color Lab