Skip to content

#cd7bee

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

RGB
205, 123, 238
HSL
283°, 77%, 71%
CMYK
14, 48, 0, 7
Luminance
0.3332

Every format

HEX#cd7bee
RGBrgb(205, 123, 238)
HSLhsl(283, 77%, 71%)
CMYKcmyk(14%, 48%, 0%, 7%)
LABlab(64.4 50.7 -45.4)
LCHlch(64.4 68.0 318.2)
OKLCHoklch(0.714 0.180 315.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd7bee on white: 2.74:1
AA ✗ fail · AA-large · AAA
Aa
#cd7bee on black: 7.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green48.2%
Blue93.3%

CMYK percentages

Cyan13.9%
Magenta48.3%
Yellow0.0%
Key (black)6.7%

Color previews

#cd7bee text on a black background

contrast 7.66:1

Card sample

#cd7bee text on a white background

contrast 2.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd7bee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd7bee in the Color Lab