Skip to content

#ce2cf5

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

RGB
206, 44, 245
HSL
288°, 91%, 57%
CMYK
16, 82, 0, 4
Luminance
0.2152

Every format

HEX#ce2cf5
RGBrgb(206, 44, 245)
HSLhsl(288, 91%, 57%)
CMYKcmyk(16%, 82%, 0%, 4%)
LABlab(53.5 83.7 -66.6)
LCHlch(53.5 107.0 321.5)
OKLCHoklch(0.637 0.283 318.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green17.3%
Blue96.1%

CMYK percentages

Cyan15.9%
Magenta82.0%
Yellow0.0%
Key (black)3.9%

Color previews

#ce2cf5 text on a black background

contrast 5.30:1

Card sample

#ce2cf5 text on a white background

contrast 3.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce2cf5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce2cf5 in the Color Lab