Skip to content

#cf3dfd

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

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

Every format

HEX#cf3dfd
RGBrgb(207, 61, 253)
HSLhsl(286, 98%, 62%)
CMYKcmyk(18%, 76%, 0%, 1%)
LABlab(55.8 80.7 -67.4)
LCHlch(55.8 105.1 320.1)
OKLCHoklch(0.655 0.276 316.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green23.9%
Blue99.2%

CMYK percentages

Cyan18.2%
Magenta75.9%
Yellow0.0%
Key (black)0.8%

Color previews

#cf3dfd text on a black background

contrast 5.74:1

Card sample

#cf3dfd text on a white background

contrast 3.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf3dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf3dfd in the Color Lab