Skip to content

#cf3dff

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

RGB
207, 61, 255
HSL
285°, 100%, 62%
CMYK
19, 76, 0, 0
Luminance
0.2382

Every format

HEX#cf3dff
RGBrgb(207, 61, 255)
HSLhsl(285, 100%, 62%)
CMYKcmyk(19%, 76%, 0%, 0%)
LABlab(55.9 81.0 -68.3)
LCHlch(55.9 106.0 319.9)
OKLCHoklch(0.656 0.277 316.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf3dff on white: 3.64:1
AA ✗ fail · AA-large · AAA
Aa
#cf3dff on black: 5.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green23.9%
Blue100.0%

CMYK percentages

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

Color previews

#cf3dff text on a black background

contrast 5.76:1

Card sample

#cf3dff text on a white background

contrast 3.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf3dff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf3dff in the Color Lab