Skip to content

#ce95fc

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

RGB
206, 149, 252
HSL
273°, 95%, 79%
CMYK
18, 41, 0, 1
Luminance
0.4164

Every format

HEX#ce95fc
RGBrgb(206, 149, 252)
HSLhsl(273, 95%, 79%)
CMYKcmyk(18%, 41%, 0%, 1%)
LABlab(70.6 40.1 -43.3)
LCHlch(70.6 59.0 312.9)
OKLCHoklch(0.763 0.154 308.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce95fc on white: 2.25:1
AA ✗ fail · AA-large · AAA
Aa
#ce95fc on black: 9.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green58.4%
Blue98.8%

CMYK percentages

Cyan18.3%
Magenta40.9%
Yellow0.0%
Key (black)1.2%

Color previews

#ce95fc text on a black background

contrast 9.33:1

Card sample

#ce95fc text on a white background

contrast 2.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce95fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce95fc in the Color Lab