Skip to content

#eb8cff

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

RGB
235, 140, 255
HSL
290°, 100%, 78%
CMYK
8, 45, 0, 0
Luminance
0.4364

Every format

HEX#eb8cff
RGBrgb(235, 140, 255)
HSLhsl(290, 100%, 78%)
CMYKcmyk(8%, 45%, 0%, 0%)
LABlab(72.0 53.6 -42.5)
LCHlch(72.0 68.5 321.6)
OKLCHoklch(0.781 0.184 320.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb8cff on white: 2.16:1
AA ✗ fail · AA-large · AAA
Aa
#eb8cff on black: 9.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green54.9%
Blue100.0%

CMYK percentages

Cyan7.8%
Magenta45.1%
Yellow0.0%
Key (black)0.0%

Color previews

#eb8cff text on a black background

contrast 9.73:1

Card sample

#eb8cff text on a white background

contrast 2.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb8cff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb8cff in the Color Lab