Skip to content

#807eee

a light, electric blue · warm · closest name: royalblue

RGB
128, 126, 238
HSL
241°, 77%, 71%
CMYK
46, 47, 0, 7
Luminance
0.2568

Every format

HEX#807eee
RGBrgb(128, 126, 238)
HSLhsl(241, 77%, 71%)
CMYKcmyk(46%, 47%, 0%, 7%)
LABlab(57.7 29.3 -56.4)
LCHlch(57.7 63.5 297.4)
OKLCHoklch(0.647 0.164 281.6)

Copy-ready code

/* CSS */
color: #807eee;
background-color: #807eee;
/* Tailwind (arbitrary) */
class="text-[#807eee] bg-[#807eee]"
/* SCSS */
$brand: #807eee;
/* SwiftUI */
Color(red: 0.502, green: 0.494, blue: 0.933)
/* Android */
Color.parseColor("#807eee")

Accessibility — WCAG contrast

Aa
#807eee on white: 3.42:1
AA ✗ fail · AA-large · AAA
Aa
#807eee on black: 6.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red50.2%
Green49.4%
Blue93.3%

CMYK percentages

Cyan46.2%
Magenta47.1%
Yellow0.0%
Key (black)6.7%

Color previews

#807eee text on a black background

contrast 6.14:1

Card sample

#807eee text on a white background

contrast 3.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(128, 126, 238, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 126, 238, 0.45);
Border & gradient
Gradient panel
border: 3px solid #807eee;
background: linear-gradient(135deg, #807eee, #CB7EEE);

Monochromatic scale

Palettes built from #807eee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #807eee in the Color Lab