Skip to content

#cf6df1

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

RGB
207, 109, 241
HSL
285°, 83%, 69%
CMYK
14, 55, 0, 6
Luminance
0.3055

Every format

HEX#cf6df1
RGBrgb(207, 109, 241)
HSLhsl(285, 83%, 69%)
CMYKcmyk(14%, 55%, 0%, 6%)
LABlab(62.1 58.8 -50.6)
LCHlch(62.1 77.6 319.3)
OKLCHoklch(0.698 0.206 316.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf6df1 on white: 2.95:1
AA ✗ fail · AA-large · AAA
Aa
#cf6df1 on black: 7.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green42.7%
Blue94.5%

CMYK percentages

Cyan14.1%
Magenta54.8%
Yellow0.0%
Key (black)5.5%

Color previews

#cf6df1 text on a black background

contrast 7.11:1

Card sample

#cf6df1 text on a white background

contrast 2.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf6df1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf6df1 in the Color Lab