Skip to content

#9b89df

a light, vivid blue · warm · closest name: plum

RGB
155, 137, 223
HSL
253°, 57%, 71%
CMYK
31, 39, 0, 13
Luminance
0.3019

Every format

HEX#9b89df
RGBrgb(155, 137, 223)
HSLhsl(253, 57%, 71%)
CMYKcmyk(31%, 39%, 0%, 13%)
LABlab(61.8 25.6 -41.5)
LCHlch(61.8 48.7 301.7)
OKLCHoklch(0.681 0.125 292.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9b89df on white: 2.98:1
AA ✗ fail · AA-large · AAA
Aa
#9b89df on black: 7.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.8%
Green53.7%
Blue87.5%

CMYK percentages

Cyan30.5%
Magenta38.6%
Yellow0.0%
Key (black)12.5%

Color previews

#9b89df text on a black background

contrast 7.04:1

Card sample

#9b89df text on a white background

contrast 2.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9b89df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9b89df in the Color Lab