Skip to content

#cf5fee

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

RGB
207, 95, 238
HSL
287°, 81%, 65%
CMYK
13, 60, 0, 7
Luminance
0.2762

Every format

HEX#cf5fee
RGBrgb(207, 95, 238)
HSLhsl(287, 81%, 65%)
CMYKcmyk(13%, 60%, 0%, 7%)
LABlab(59.5 64.8 -53.0)
LCHlch(59.5 83.7 320.7)
OKLCHoklch(0.679 0.223 318.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf5fee on white: 3.22:1
AA ✗ fail · AA-large · AAA
Aa
#cf5fee on black: 6.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green37.3%
Blue93.3%

CMYK percentages

Cyan13.0%
Magenta60.1%
Yellow0.0%
Key (black)6.7%

Color previews

#cf5fee text on a black background

contrast 6.52:1

Card sample

#cf5fee text on a white background

contrast 3.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf5fee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf5fee in the Color Lab