Skip to content

#a7a2df

a light, vivid blue · cool · closest name: Light Steel Blue

RGB
167, 162, 223
HSL
245°, 49%, 76%
CMYK
25, 27, 0, 13
Luminance
0.3938

At a glance

Every number on this page in one read: what #a7a2df is made of, how bright it looks, and which way it leans.

Hex
#a7a2df
Hue
245°
blue
Saturation
49%
vivid
Lightness
76%
light
Brightness
87%
HSV value
Perceived
67%
weighted brightness
Luminance
0.3938
WCAG relative
Temperature
Cool
81/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
8.88:1
Closest name
Light Steel Blue
ΔE2000 12.2
Where it sits
Hue245° of 360°
Saturation49%
Lightness76%
Temperature
Warm ← → Cool81% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#a7a2df
RGBrgb(167, 162, 223)
HSLhsl(245, 49%, 76%)
CMYKcmyk(25%, 27%, 0%, 13%)
LABlab(69.0 14.9 -30.2)
LCHlch(69.0 33.6 296.2)
OKLCHoklch(0.739 0.087 287.8)
Decimal10986207
Display P3color(display-p3 0.655 0.635 0.875)

Copy-ready code

/* CSS */
color: #a7a2df;
background-color: #a7a2df;
/* Tailwind (arbitrary) */
class="text-[#a7a2df] bg-[#a7a2df]"
/* SCSS */
$brand: #a7a2df;
/* SwiftUI */
Color(red: 0.655, green: 0.635, blue: 0.875)
/* Android */
Color.parseColor("#a7a2df")
/* Flutter */
Color(0xFFA7A2DF)
/* Python / OpenCV (BGR) */
(223, 162, 167)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #a7a2df · 8.88:1
Use #000000AAA at every size.
Aa
White text · 2.37:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.88:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #a7a2df as text scores 2.37:1 on white and 8.88:1 on black.

Accessibility — WCAG contrast

Aa
#a7a2df on white: 2.37:1
AA ✗ fail · AA-large · AAA
Aa
#a7a2df on black: 8.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #92AAE2
deuteranopia · #91A7DD
tritanopia · #9BACB7

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #a7a2df is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F5F4FA
#EBEAF6
#D2D0EC
#a7a2df
#8882D4
#6158C6
#483FB6
#3C3498
#302A79
#262259
#181537
Base = 300Lightest = 50 · #F5F4FADarkest = 950 · #181537
:root {
  --brand-50: #F5F4FA;
  --brand-100: #EBEAF6;
  --brand-200: #D2D0EC;
  --brand-300: #a7a2df;
  --brand-400: #8882D4;
  --brand-500: #6158C6;
  --brand-600: #483FB6;
  --brand-700: #3C3498;
  --brand-800: #302A79;
  --brand-900: #262259;
  --brand-950: #181537;
  --brand: #a7a2df;
  --brand-ink: #000000;
}

Colors that work with #a7a2df

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F5F4FA
Tinted page background
Border#C6C2EA
Hairlines and dividers
Muted text#514B9B
Captions on the surface
Accent#9C8930
Second voice, not a rival
Dark variant#26215F
Hover, pressed, headers
Light variant#EDECF8
Selected rows, tints
Dark surface#151424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #a7a2df

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#DADFA2
Analogous left#A2BCDF
Analogous right#C6A2DF
Split-complement 1#DFC6A2
Split-complement 2#BCDFA2
Triadic 1#DFA7A2
Triadic 2#A2DFA7
Tetradic#DFA2BC

RGB percentages

Red65.5%
Green63.5%
Blue87.5%

CMYK percentages

Cyan25.1%
Magenta27.4%
Yellow0.0%
Key (black)12.5%

Color previews

#a7a2df text on a black background

contrast 8.88:1

Card sample

#a7a2df text on a white background

contrast 2.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a7a2df

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#a7a2df in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#a7a2df, answered

What color is #a7a2df?

#a7a2df is a light vivid blue, closest to Light Steel Blue (ΔE2000 12.2). It sits at 245° on the hue wheel with 49% saturation and 76% lightness, which reads as cool.

What is the RGB value of #a7a2df?

rgb(167, 162, 223) — 167 red, 162 green and 223 blue out of 255, or 65.5% / 63.5% / 87.5% by channel.

Is #a7a2df a light or a dark color?

It is a mid-tone. Relative luminance is 0.3938 and perceived brightness is 67%, so black text on it reaches 8.88:1.

Should I use black or white text on #a7a2df?

Black. It scores 8.88:1 against #a7a2df, versus 2.37:1 for white — AAA at any size.

What is the complementary color of #a7a2df?

#DADFA2 sits directly opposite on the wheel. Softer options are the split-complements #DFC6A2 and #BCDFA2, which give the same contrast with far less vibration.

What colors go well with #a7a2df?

For interface work: #F5F4FA as the surface, #C6C2EA for borders, #514B9B for secondary text, #9C8930 as an accent and #26215F for hover and pressed states. For a palette, the analogous pair #A2BCDF and #C6A2DF stays calm, while #DADFA2 is the loudest partner.

What is #a7a2df in CMYK for printing?

cmyk(25%, 27%, 0%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #a7a2df warm or cool?

Cool — it scores 81 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BDA2DF; nudged cooler, #A1B3E0.

Work with #a7a2df in the Color Lab