Skip to content

#a7acf2

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

RGB
167, 172, 242
HSL
236°, 74%, 80%
CMYK
31, 29, 0, 5
Luminance
0.4413

At a glance

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

Hex
#a7acf2
Hue
236°
blue
Saturation
74%
vivid
Lightness
80%
light
Brightness
95%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4413
WCAG relative
Temperature
Cool
86/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
9.83:1
Closest name
Light Steel Blue
ΔE2000 9.5
Where it sits
Hue236° of 360°
Saturation74%
Lightness80%
Temperature
Warm ← → Cool86% 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#a7acf2
RGBrgb(167, 172, 242)
HSLhsl(236, 74%, 80%)
CMYKcmyk(31%, 29%, 0%, 5%)
LABlab(72.3 13.9 -35.5)
LCHlch(72.3 38.1 291.4)
OKLCHoklch(0.766 0.100 280.6)
Decimal10988786
Display P3color(display-p3 0.655 0.675 0.949)

Copy-ready code

/* CSS */
color: #a7acf2;
background-color: #a7acf2;
/* Tailwind (arbitrary) */
class="text-[#a7acf2] bg-[#a7acf2]"
/* SCSS */
$brand: #a7acf2;
/* SwiftUI */
Color(red: 0.655, green: 0.675, blue: 0.949)
/* Android */
Color.parseColor("#a7acf2")
/* Flutter */
Color(0xFFA7ACF2)
/* Python / OpenCV (BGR) */
(242, 172, 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 #a7acf2 · 9.83:1
Use #000000AAA at every size.
Aa
White text · 2.14:1
AA fail · AA large fail · AAA fail
Aa
Black text · 9.83:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #a7acf2 as text scores 2.14:1 on white and 9.83:1 on black.

Accessibility — WCAG contrast

Aa
#a7acf2 on white: 2.14:1
AA ✗ fail · AA-large · AAA
Aa
#a7acf2 on black: 9.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #97B4F5
deuteranopia · #94AFF0
tritanopia · #94B9C5

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #a7acf2 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.

#F3F4FC
#E7E8F9
#C8CBF4
#a7acf2
#6C75E9
#3B47E2
#1F2CD5
#1A24B2
#151D8E
#131967
#0C1040
Base = 300Lightest = 50 · #F3F4FCDarkest = 950 · #0C1040
:root {
  --brand-50: #F3F4FC;
  --brand-100: #E7E8F9;
  --brand-200: #C8CBF4;
  --brand-300: #a7acf2;
  --brand-400: #6C75E9;
  --brand-500: #3B47E2;
  --brand-600: #1F2CD5;
  --brand-700: #1A24B2;
  --brand-800: #151D8E;
  --brand-900: #131967;
  --brand-950: #0C1040;
  --brand: #a7acf2;
  --brand-ink: #000000;
}

Colors that work with #a7acf2

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#F4F5FA
Tinted page background
Border#C0C3ED
Hairlines and dividers
Muted text#4B509B
Captions on the surface
Accent#B68316
Second voice, not a rival
Dark variant#10176F
Hover, pressed, headers
Light variant#E9EAFC
Selected rows, tints
Dark surface#141524
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 #a7acf2

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#F2EDA7
Analogous left#A7D2F2
Analogous right#C8A7F2
Split-complement 1#F2C8A7
Split-complement 2#D2F2A7
Triadic 1#F2A7AC
Triadic 2#ACF2A7
Tetradic#F2A7D2

RGB percentages

Red65.5%
Green67.5%
Blue94.9%

CMYK percentages

Cyan31.0%
Magenta28.9%
Yellow0.0%
Key (black)5.1%

Color previews

#a7acf2 text on a black background

contrast 9.83:1

Card sample

#a7acf2 text on a white background

contrast 2.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a7acf2

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.

#a7acf2 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.

#a7acf2, answered

What color is #a7acf2?

#a7acf2 is a light vivid blue, closest to Light Steel Blue (ΔE2000 9.5). It sits at 236° on the hue wheel with 74% saturation and 80% lightness, which reads as cool.

What is the RGB value of #a7acf2?

rgb(167, 172, 242) — 167 red, 172 green and 242 blue out of 255, or 65.5% / 67.5% / 94.9% by channel.

Is #a7acf2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4413 and perceived brightness is 71%, so black text on it reaches 9.83:1.

Should I use black or white text on #a7acf2?

Black. It scores 9.83:1 against #a7acf2, versus 2.14:1 for white — AAA at any size.

What is the complementary color of #a7acf2?

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

What colors go well with #a7acf2?

For interface work: #F4F5FA as the surface, #C0C3ED for borders, #4B509B for secondary text, #B68316 as an accent and #10176F for hover and pressed states. For a palette, the analogous pair #A7D2F2 and #C8A7F2 stays calm, while #F2EDA7 is the loudest partner.

What is #a7acf2 in CMYK for printing?

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

Is #a7acf2 warm or cool?

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

Work with #a7acf2 in the Color Lab