Skip to content

#ce7df5

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

RGB
206, 125, 245
HSL
281°, 86%, 73%
CMYK
16, 49, 0, 4
Luminance
0.3438

Every format

HEX#ce7df5
RGBrgb(206, 125, 245)
HSLhsl(281, 86%, 73%)
CMYKcmyk(16%, 49%, 0%, 4%)
LABlab(65.3 51.4 -47.9)
LCHlch(65.3 70.2 317.0)
OKLCHoklch(0.722 0.185 313.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce7df5 on white: 2.67:1
AA ✗ fail · AA-large · AAA
Aa
#ce7df5 on black: 7.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green49.0%
Blue96.1%

CMYK percentages

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

Color previews

#ce7df5 text on a black background

contrast 7.88:1

Card sample

#ce7df5 text on a white background

contrast 2.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce7df5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce7df5 in the Color Lab