Skip to content

#afbcf9

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

RGB
175, 188, 249
HSL
230°, 86%, 83%
CMYK
30, 25, 0, 2
Luminance
0.5192

Every format

HEX#afbcf9
RGBrgb(175, 188, 249)
HSLhsl(230, 86%, 83%)
CMYKcmyk(30%, 25%, 0%, 2%)
LABlab(77.2 9.1 -31.6)
LCHlch(77.2 32.9 286.0)
OKLCHoklch(0.807 0.088 275.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afbcf9 on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#afbcf9 on black: 11.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green73.7%
Blue97.6%

CMYK percentages

Cyan29.7%
Magenta24.5%
Yellow0.0%
Key (black)2.4%

Color previews

#afbcf9 text on a black background

contrast 11.38:1

Card sample

#afbcf9 text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afbcf9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afbcf9 in the Color Lab