Skip to content

#9b8df8

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

RGB
155, 141, 248
HSL
248°, 88%, 76%
CMYK
38, 43, 0, 3
Luminance
0.3280

Every format

HEX#9b8df8
RGBrgb(155, 141, 248)
HSLhsl(248, 88%, 76%)
CMYKcmyk(38%, 43%, 0%, 3%)
LABlab(64.0 29.8 -51.9)
LCHlch(64.0 59.8 299.9)
OKLCHoklch(0.701 0.153 287.8)

Copy-ready code

/* CSS */
color: #9b8df8;
background-color: #9b8df8;
/* Tailwind (arbitrary) */
class="text-[#9b8df8] bg-[#9b8df8]"
/* SCSS */
$brand: #9b8df8;
/* SwiftUI */
Color(red: 0.608, green: 0.553, blue: 0.973)
/* Android */
Color.parseColor("#9b8df8")

Accessibility — WCAG contrast

Aa
#9b8df8 on white: 2.78:1
AA ✗ fail · AA-large · AAA
Aa
#9b8df8 on black: 7.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.8%
Green55.3%
Blue97.3%

CMYK percentages

Cyan37.5%
Magenta43.1%
Yellow0.0%
Key (black)2.7%

Color previews

#9b8df8 text on a black background

contrast 7.56:1

Card sample

#9b8df8 text on a white background

contrast 2.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(155, 141, 248, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(155, 141, 248, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9b8df8;
background: linear-gradient(135deg, #9b8df8, #E28DF8);

Monochromatic scale

Palettes built from #9b8df8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9b8df8 in the Color Lab