Skip to content

#ecb0ff

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

RGB
236, 176, 255
HSL
286°, 100%, 85%
CMYK
8, 31, 0, 0
Luminance
0.5610

Every format

HEX#ecb0ff
RGBrgb(236, 176, 255)
HSLhsl(286, 100%, 85%)
CMYKcmyk(8%, 31%, 0%, 0%)
LABlab(79.7 35.2 -30.6)
LCHlch(79.7 46.6 318.9)
OKLCHoklch(0.839 0.125 317.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecb0ff on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#ecb0ff on black: 12.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green69.0%
Blue100.0%

CMYK percentages

Cyan7.5%
Magenta31.0%
Yellow0.0%
Key (black)0.0%

Color previews

#ecb0ff text on a black background

contrast 12.22:1

Card sample

#ecb0ff text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecb0ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecb0ff in the Color Lab