Skip to content

#9f8ace

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

RGB
159, 138, 206
HSL
259°, 41%, 68%
CMYK
23, 33, 0, 19
Luminance
0.3000

Every format

HEX#9f8ace
RGBrgb(159, 138, 206)
HSLhsl(259, 41%, 68%)
CMYKcmyk(23%, 33%, 0%, 19%)
LABlab(61.7 22.0 -32.2)
LCHlch(61.7 39.0 304.4)
OKLCHoklch(0.678 0.101 297.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9f8ace on white: 3.00:1
AA ✗ fail · AA-large · AAA
Aa
#9f8ace on black: 7.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.4%
Green54.1%
Blue80.8%

CMYK percentages

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

Color previews

#9f8ace text on a black background

contrast 7.00:1

Card sample

#9f8ace text on a white background

contrast 3.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9f8ace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9f8ace in the Color Lab