Skip to content

#cf2cf3

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

RGB
207, 44, 243
HSL
289°, 89%, 56%
CMYK
15, 82, 0, 5
Luminance
0.2154

Every format

HEX#cf2cf3
RGBrgb(207, 44, 243)
HSLhsl(289, 89%, 56%)
CMYKcmyk(15%, 82%, 0%, 5%)
LABlab(53.5 83.5 -65.5)
LCHlch(53.5 106.1 321.9)
OKLCHoklch(0.637 0.282 319.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf2cf3 on white: 3.96:1
AA ✗ fail · AA-large · AAA
Aa
#cf2cf3 on black: 5.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green17.3%
Blue95.3%

CMYK percentages

Cyan14.8%
Magenta81.9%
Yellow0.0%
Key (black)4.7%

Color previews

#cf2cf3 text on a black background

contrast 5.31:1

Card sample

#cf2cf3 text on a white background

contrast 3.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf2cf3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf2cf3 in the Color Lab