Skip to content

#afb0f9

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

RGB
175, 176, 249
HSL
239°, 86%, 83%
CMYK
30, 29, 0, 2
Luminance
0.4700

Every format

HEX#afb0f9
RGBrgb(175, 176, 249)
HSLhsl(239, 86%, 83%)
CMYKcmyk(30%, 29%, 0%, 2%)
LABlab(74.2 15.7 -36.3)
LCHlch(74.2 39.5 293.4)
OKLCHoklch(0.783 0.103 283.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb0f9 on white: 2.02:1
AA ✗ fail · AA-large · AAA
Aa
#afb0f9 on black: 10.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green69.0%
Blue97.6%

CMYK percentages

Cyan29.7%
Magenta29.3%
Yellow0.0%
Key (black)2.4%

Color previews

#afb0f9 text on a black background

contrast 10.40:1

Card sample

#afb0f9 text on a white background

contrast 2.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb0f9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb0f9 in the Color Lab