Skip to content

#978fdf

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

RGB
151, 143, 223
HSL
246°, 56%, 72%
CMYK
32, 36, 0, 13
Luminance
0.3155

Every format

HEX#978fdf
RGBrgb(151, 143, 223)
HSLhsl(246, 56%, 72%)
CMYKcmyk(32%, 36%, 0%, 13%)
LABlab(63.0 21.0 -39.7)
LCHlch(63.0 44.9 297.9)
OKLCHoklch(0.689 0.116 287.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#978fdf on white: 2.87:1
AA ✗ fail · AA-large · AAA
Aa
#978fdf on black: 7.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red59.2%
Green56.1%
Blue87.5%

CMYK percentages

Cyan32.3%
Magenta35.9%
Yellow0.0%
Key (black)12.5%

Color previews

#978fdf text on a black background

contrast 7.31:1

Card sample

#978fdf text on a white background

contrast 2.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #978fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #978fdf in the Color Lab