Skip to content

#ebc2ff

a pale, electric violet · warm · closest name: plum

RGB
235, 194, 255
HSL
280°, 100%, 88%
CMYK
8, 24, 0, 0
Luminance
0.6347

Every format

HEX#ebc2ff
RGBrgb(235, 194, 255)
HSLhsl(280, 100%, 88%)
CMYKcmyk(8%, 24%, 0%, 0%)
LABlab(83.7 25.3 -24.5)
LCHlch(83.7 35.2 315.9)
OKLCHoklch(0.869 0.093 314.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebc2ff on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#ebc2ff on black: 13.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green76.1%
Blue100.0%

CMYK percentages

Cyan7.8%
Magenta23.9%
Yellow0.0%
Key (black)0.0%

Color previews

#ebc2ff text on a black background

contrast 13.69:1

Card sample

#ebc2ff text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(235, 194, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 194, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ebc2ff;
background: linear-gradient(135deg, #ebc2ff, #FFC2EA);

Monochromatic scale

Palettes built from #ebc2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebc2ff in the Color Lab