Skip to content

#cf5cfd

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

RGB
207, 92, 253
HSL
283°, 98%, 68%
CMYK
18, 64, 0, 1
Luminance
0.2801

Every format

HEX#cf5cfd
RGBrgb(207, 92, 253)
HSLhsl(283, 98%, 68%)
CMYKcmyk(18%, 64%, 0%, 1%)
LABlab(59.9 69.0 -60.8)
LCHlch(59.9 92.0 318.6)
OKLCHoklch(0.684 0.241 314.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf5cfd on white: 3.18:1
AA ✗ fail · AA-large · AAA
Aa
#cf5cfd on black: 6.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green36.1%
Blue99.2%

CMYK percentages

Cyan18.2%
Magenta63.6%
Yellow0.0%
Key (black)0.8%

Color previews

#cf5cfd text on a black background

contrast 6.60:1

Card sample

#cf5cfd text on a white background

contrast 3.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf5cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf5cfd in the Color Lab