Skip to content

#cf3cff

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

RGB
207, 60, 255
HSL
285°, 100%, 62%
CMYK
19, 77, 0, 0
Luminance
0.2372

Every format

HEX#cf3cff
RGBrgb(207, 60, 255)
HSLhsl(285, 100%, 62%)
CMYKcmyk(19%, 77%, 0%, 0%)
LABlab(55.8 81.3 -68.5)
LCHlch(55.8 106.3 319.9)
OKLCHoklch(0.655 0.278 316.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf3cff on white: 3.66:1
AA ✗ fail · AA-large · AAA
Aa
#cf3cff on black: 5.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green23.5%
Blue100.0%

CMYK percentages

Cyan18.8%
Magenta76.5%
Yellow0.0%
Key (black)0.0%

Color previews

#cf3cff text on a black background

contrast 5.74:1

Card sample

#cf3cff text on a white background

contrast 3.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf3cff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf3cff in the Color Lab