Skip to content

#afbafa

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

RGB
175, 186, 250
HSL
231°, 88%, 83%
CMYK
30, 26, 0, 2
Luminance
0.5113

Every format

HEX#afbafa
RGBrgb(175, 186, 250)
HSLhsl(231, 88%, 83%)
CMYKcmyk(30%, 26%, 0%, 2%)
LABlab(76.8 10.4 -32.9)
LCHlch(76.8 34.5 287.5)
OKLCHoklch(0.803 0.091 276.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afbafa on white: 1.87:1
AA ✗ fail · AA-large · AAA
Aa
#afbafa on black: 11.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green72.9%
Blue98.0%

CMYK percentages

Cyan30.0%
Magenta25.6%
Yellow0.0%
Key (black)2.0%

Color previews

#afbafa text on a black background

contrast 11.23:1

Card sample

#afbafa text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afbafa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afbafa in the Color Lab