Skip to content

#cf39fc

a balanced, electric violet · warm · closest name: magenta

RGB
207, 57, 252
HSL
286°, 97%, 61%
CMYK
18, 77, 0, 1
Luminance
0.2322

Every format

HEX#cf39fc
RGBrgb(207, 57, 252)
HSLhsl(286, 97%, 61%)
CMYKcmyk(18%, 77%, 0%, 1%)
LABlab(55.3 81.7 -67.6)
LCHlch(55.3 106.1 320.4)
OKLCHoklch(0.651 0.278 316.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf39fc on white: 3.72:1
AA ✗ fail · AA-large · AAA
Aa
#cf39fc on black: 5.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green22.4%
Blue98.8%

CMYK percentages

Cyan17.9%
Magenta77.4%
Yellow0.0%
Key (black)1.2%

Color previews

#cf39fc text on a black background

contrast 5.64:1

Card sample

#cf39fc text on a white background

contrast 3.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf39fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf39fc in the Color Lab