Skip to content

#ce2cf7

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

RGB
206, 44, 247
HSL
288°, 93%, 57%
CMYK
17, 82, 0, 3
Luminance
0.2164

Every format

HEX#ce2cf7
RGBrgb(206, 44, 247)
HSLhsl(288, 93%, 57%)
CMYKcmyk(17%, 82%, 0%, 3%)
LABlab(53.6 84.1 -67.5)
LCHlch(53.6 107.8 321.2)
OKLCHoklch(0.638 0.284 318.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce2cf7 on white: 3.94:1
AA ✗ fail · AA-large · AAA
Aa
#ce2cf7 on black: 5.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green17.3%
Blue96.9%

CMYK percentages

Cyan16.6%
Magenta82.2%
Yellow0.0%
Key (black)3.1%

Color previews

#ce2cf7 text on a black background

contrast 5.33:1

Card sample

#ce2cf7 text on a white background

contrast 3.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce2cf7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce2cf7 in the Color Lab