Skip to content

#9facf4

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

RGB
159, 172, 244
HSL
231°, 79%, 79%
CMYK
35, 30, 0, 4
Luminance
0.4341

Every format

HEX#9facf4
RGBrgb(159, 172, 244)
HSLhsl(231, 79%, 79%)
CMYKcmyk(35%, 30%, 0%, 4%)
LABlab(71.8 12.2 -37.3)
LCHlch(71.8 39.3 288.1)
OKLCHoklch(0.762 0.104 275.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9facf4 on white: 2.17:1
AA ✗ fail · AA-large · AAA
Aa
#9facf4 on black: 9.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.4%
Green67.5%
Blue95.7%

CMYK percentages

Cyan34.8%
Magenta29.5%
Yellow0.0%
Key (black)4.3%

Color previews

#9facf4 text on a black background

contrast 9.68:1

Card sample

#9facf4 text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9facf4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9facf4 in the Color Lab