Skip to content

#cf8fee

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

RGB
207, 143, 238
HSL
280°, 74%, 75%
CMYK
13, 40, 0, 7
Luminance
0.3908

Every format

HEX#cf8fee
RGBrgb(207, 143, 238)
HSLhsl(280, 74%, 75%)
CMYKcmyk(13%, 40%, 0%, 7%)
LABlab(68.8 40.7 -38.5)
LCHlch(68.8 56.0 316.6)
OKLCHoklch(0.748 0.148 314.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green56.1%
Blue93.3%

CMYK percentages

Cyan13.0%
Magenta39.9%
Yellow0.0%
Key (black)6.7%

Color previews

#cf8fee text on a black background

contrast 8.82:1

Card sample

#cf8fee text on a white background

contrast 2.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf8fee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf8fee in the Color Lab