Skip to content

#9b8ace

a light, soft violet · warm · closest name: plum

RGB
155, 138, 206
HSL
255°, 41%, 68%
CMYK
25, 33, 0, 19
Luminance
0.2960

Every format

HEX#9b8ace
RGBrgb(155, 138, 206)
HSLhsl(255, 41%, 68%)
CMYKcmyk(25%, 33%, 0%, 19%)
LABlab(61.3 20.8 -32.8)
LCHlch(61.3 38.8 302.4)
OKLCHoklch(0.675 0.100 295.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9b8ace on white: 3.03:1
AA ✗ fail · AA-large · AAA
Aa
#9b8ace on black: 6.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.8%
Green54.1%
Blue80.8%

CMYK percentages

Cyan24.8%
Magenta33.0%
Yellow0.0%
Key (black)19.2%

Color previews

#9b8ace text on a black background

contrast 6.92:1

Card sample

#9b8ace text on a white background

contrast 3.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9b8ace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9b8ace in the Color Lab