Skip to content

#ce5ffc

a light, electric violet · warm · closest name: violet

RGB
206, 95, 252
HSL
282°, 96%, 68%
CMYK
18, 62, 0, 1
Luminance
0.2833

Every format

HEX#ce5ffc
RGBrgb(206, 95, 252)
HSLhsl(282, 96%, 68%)
CMYKcmyk(18%, 62%, 0%, 1%)
LABlab(60.2 67.3 -59.8)
LCHlch(60.2 90.0 318.4)
OKLCHoklch(0.686 0.236 314.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce5ffc on white: 3.15:1
AA ✗ fail · AA-large · AAA
Aa
#ce5ffc on black: 6.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green37.3%
Blue98.8%

CMYK percentages

Cyan18.3%
Magenta62.3%
Yellow0.0%
Key (black)1.2%

Color previews

#ce5ffc text on a black background

contrast 6.67:1

Card sample

#ce5ffc text on a white background

contrast 3.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce5ffc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce5ffc in the Color Lab