Skip to content

#cf8bee

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

RGB
207, 139, 238
HSL
281°, 74%, 74%
CMYK
13, 42, 0, 7
Luminance
0.3790

Every format

HEX#cf8bee
RGBrgb(207, 139, 238)
HSLhsl(281, 74%, 74%)
CMYKcmyk(13%, 42%, 0%, 7%)
LABlab(68.0 42.8 -39.8)
LCHlch(68.0 58.5 317.1)
OKLCHoklch(0.741 0.155 314.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf8bee on white: 2.45:1
AA ✗ fail · AA-large · AAA
Aa
#cf8bee on black: 8.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green54.5%
Blue93.3%

CMYK percentages

Cyan13.0%
Magenta41.6%
Yellow0.0%
Key (black)6.7%

Color previews

#cf8bee text on a black background

contrast 8.58:1

Card sample

#cf8bee text on a white background

contrast 2.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf8bee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf8bee in the Color Lab