Skip to content

#cf3cfd

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

RGB
207, 60, 253
HSL
286°, 98%, 61%
CMYK
18, 76, 0, 1
Luminance
0.2359

Every format

HEX#cf3cfd
RGBrgb(207, 60, 253)
HSLhsl(286, 98%, 61%)
CMYKcmyk(18%, 76%, 0%, 1%)
LABlab(55.7 81.0 -67.6)
LCHlch(55.7 105.5 320.1)
OKLCHoklch(0.654 0.277 316.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf3cfd on white: 3.67:1
AA ✗ fail · AA-large · AAA
Aa
#cf3cfd on black: 5.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green23.5%
Blue99.2%

CMYK percentages

Cyan18.2%
Magenta76.3%
Yellow0.0%
Key (black)0.8%

Color previews

#cf3cfd text on a black background

contrast 5.72:1

Card sample

#cf3cfd text on a white background

contrast 3.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf3cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf3cfd in the Color Lab