Skip to content

#978ace

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

RGB
151, 138, 206
HSL
252°, 41%, 68%
CMYK
27, 33, 0, 19
Luminance
0.2921

Every format

HEX#978ace
RGBrgb(151, 138, 206)
HSLhsl(252, 41%, 68%)
CMYKcmyk(27%, 33%, 0%, 19%)
LABlab(61.0 19.6 -33.3)
LCHlch(61.0 38.7 300.5)
OKLCHoklch(0.671 0.100 292.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#978ace on white: 3.07:1
AA ✗ fail · AA-large · AAA
Aa
#978ace on black: 6.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red59.2%
Green54.1%
Blue80.8%

CMYK percentages

Cyan26.7%
Magenta33.0%
Yellow0.0%
Key (black)19.2%

Color previews

#978ace text on a black background

contrast 6.84:1

Card sample

#978ace text on a white background

contrast 3.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #978ace;
Background color
Panel with #978ace background
background-color: #978ace;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #978ace;
Text shadow — RGB

Soft neon halo

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

Monochromatic scale

Palettes built from #978ace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #978ace in the Color Lab