Skip to content

#afb2f3

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

RGB
175, 178, 243
HSL
237°, 74%, 82%
CMYK
28, 27, 0, 5
Luminance
0.4743

Every format

HEX#afb2f3
RGBrgb(175, 178, 243)
HSLhsl(237, 74%, 82%)
CMYKcmyk(28%, 27%, 0%, 5%)
LABlab(74.5 13.1 -32.6)
LCHlch(74.5 35.2 291.9)
OKLCHoklch(0.785 0.092 282.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb2f3 on white: 2.00:1
AA ✗ fail · AA-large · AAA
Aa
#afb2f3 on black: 10.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green69.8%
Blue95.3%

CMYK percentages

Cyan28.0%
Magenta26.7%
Yellow0.0%
Key (black)4.7%

Color previews

#afb2f3 text on a black background

contrast 10.49:1

Card sample

#afb2f3 text on a white background

contrast 2.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb2f3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb2f3 in the Color Lab