Skip to content

#ce2cf3

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

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

Every format

HEX#ce2cf3
RGBrgb(206, 44, 243)
HSLhsl(289, 89%, 56%)
CMYKcmyk(15%, 82%, 0%, 5%)
LABlab(53.4 83.4 -65.7)
LCHlch(53.4 106.2 321.8)
OKLCHoklch(0.636 0.281 318.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce2cf3 on white: 3.98:1
AA ✗ fail · AA-large · AAA
Aa
#ce2cf3 on black: 5.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green17.3%
Blue95.3%

CMYK percentages

Cyan15.2%
Magenta81.9%
Yellow0.0%
Key (black)4.7%

Color previews

#ce2cf3 text on a black background

contrast 5.28:1

Card sample

#ce2cf3 text on a white background

contrast 3.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce2cf3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce2cf3 in the Color Lab