Skip to content

#ce7df6

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

RGB
206, 125, 246
HSL
280°, 87%, 73%
CMYK
16, 49, 0, 4
Luminance
0.3444

Every format

HEX#ce7df6
RGBrgb(206, 125, 246)
HSLhsl(280, 87%, 73%)
CMYKcmyk(16%, 49%, 0%, 4%)
LABlab(65.3 51.6 -48.3)
LCHlch(65.3 70.7 316.9)
OKLCHoklch(0.722 0.186 313.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce7df6 on white: 2.66:1
AA ✗ fail · AA-large · AAA
Aa
#ce7df6 on black: 7.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green49.0%
Blue96.5%

CMYK percentages

Cyan16.3%
Magenta49.2%
Yellow0.0%
Key (black)3.5%

Color previews

#ce7df6 text on a black background

contrast 7.89:1

Card sample

#ce7df6 text on a white background

contrast 2.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce7df6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce7df6 in the Color Lab