Skip to content

#e7b3ff

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

RGB
231, 179, 255
HSL
281°, 100%, 85%
CMYK
9, 30, 0, 0
Luminance
0.5645

Every format

HEX#e7b3ff
RGBrgb(231, 179, 255)
HSLhsl(281, 100%, 85%)
CMYKcmyk(9%, 30%, 0%, 0%)
LABlab(79.9 32.0 -30.4)
LCHlch(79.9 44.1 316.5)
OKLCHoklch(0.839 0.117 314.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e7b3ff on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#e7b3ff on black: 12.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red90.6%
Green70.2%
Blue100.0%

CMYK percentages

Cyan9.4%
Magenta29.8%
Yellow0.0%
Key (black)0.0%

Color previews

#e7b3ff text on a black background

contrast 12.29:1

Card sample

#e7b3ff text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e7b3ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e7b3ff in the Color Lab