Skip to content

#a7b2fd

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

RGB
167, 178, 253
HSL
232°, 96%, 82%
CMYK
34, 30, 0, 1
Luminance
0.4715

Every format

HEX#a7b2fd
RGBrgb(167, 178, 253)
HSLhsl(232, 96%, 82%)
CMYKcmyk(34%, 30%, 0%, 1%)
LABlab(74.3 13.3 -38.4)
LCHlch(74.3 40.6 289.2)
OKLCHoklch(0.783 0.108 277.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a7b2fd on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#a7b2fd on black: 10.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.5%
Green69.8%
Blue99.2%

CMYK percentages

Cyan34.0%
Magenta29.6%
Yellow0.0%
Key (black)0.8%

Color previews

#a7b2fd text on a black background

contrast 10.43:1

Card sample

#a7b2fd text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a7b2fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a7b2fd in the Color Lab