Skip to content

#afb8f0

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

RGB
175, 184, 240
HSL
232°, 68%, 81%
CMYK
27, 23, 0, 6
Luminance
0.4969

Every format

HEX#afb8f0
RGBrgb(175, 184, 240)
HSLhsl(232, 68%, 81%)
CMYKcmyk(27%, 23%, 0%, 6%)
LABlab(75.9 9.1 -28.8)
LCHlch(75.9 30.2 287.5)
OKLCHoklch(0.795 0.080 277.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb8f0 on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#afb8f0 on black: 10.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green72.2%
Blue94.1%

CMYK percentages

Cyan27.1%
Magenta23.3%
Yellow0.0%
Key (black)5.9%

Color previews

#afb8f0 text on a black background

contrast 10.94:1

Card sample

#afb8f0 text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb8f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb8f0 in the Color Lab