Skip to content

#cf5df6

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

RGB
207, 93, 246
HSL
285°, 90%, 67%
CMYK
16, 62, 0, 4
Luminance
0.2775

Every format

HEX#cf5df6
RGBrgb(207, 93, 246)
HSLhsl(285, 90%, 67%)
CMYKcmyk(16%, 62%, 0%, 4%)
LABlab(59.7 67.2 -57.3)
LCHlch(59.7 88.3 319.6)
OKLCHoklch(0.681 0.233 316.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf5df6 on white: 3.21:1
AA ✗ fail · AA-large · AAA
Aa
#cf5df6 on black: 6.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green36.5%
Blue96.5%

CMYK percentages

Cyan15.9%
Magenta62.2%
Yellow0.0%
Key (black)3.5%

Color previews

#cf5df6 text on a black background

contrast 6.55:1

Card sample

#cf5df6 text on a white background

contrast 3.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf5df6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf5df6 in the Color Lab