Skip to content

#ce86fc

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

RGB
206, 134, 252
HSL
277°, 95%, 76%
CMYK
18, 47, 0, 1
Luminance
0.3720

Every format

HEX#ce86fc
RGBrgb(206, 134, 252)
HSLhsl(277, 95%, 76%)
CMYKcmyk(18%, 47%, 0%, 1%)
LABlab(67.4 48.1 -48.3)
LCHlch(67.4 68.2 314.9)
OKLCHoklch(0.739 0.178 310.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce86fc on white: 2.49:1
AA ✗ fail · AA-large · AAA
Aa
#ce86fc on black: 8.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green52.5%
Blue98.8%

CMYK percentages

Cyan18.3%
Magenta46.8%
Yellow0.0%
Key (black)1.2%

Color previews

#ce86fc text on a black background

contrast 8.44:1

Card sample

#ce86fc text on a white background

contrast 2.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce86fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce86fc in the Color Lab