Skip to content

#9faff9

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

RGB
159, 175, 249
HSL
229°, 88%, 80%
CMYK
36, 30, 0, 2
Luminance
0.4487

Every format

HEX#9faff9
RGBrgb(159, 175, 249)
HSLhsl(229, 88%, 80%)
CMYKcmyk(36%, 30%, 0%, 2%)
LABlab(72.8 11.8 -38.5)
LCHlch(72.8 40.3 287.1)
OKLCHoklch(0.770 0.108 274.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9faff9 on white: 2.11:1
AA ✗ fail · AA-large · AAA
Aa
#9faff9 on black: 9.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.4%
Green68.6%
Blue97.6%

CMYK percentages

Cyan36.1%
Magenta29.7%
Yellow0.0%
Key (black)2.4%

Color previews

#9faff9 text on a black background

contrast 9.97:1

Card sample

#9faff9 text on a white background

contrast 2.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9faff9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9faff9 in the Color Lab