Skip to content

#ac9cef

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

RGB
172, 156, 239
HSL
252°, 72%, 78%
CMYK
28, 35, 0, 6
Luminance
0.3878

At a glance

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

Hex
#ac9cef
Hue
252°
blue
Saturation
72%
vivid
Lightness
78%
light
Brightness
94%
HSV value
Perceived
68%
weighted brightness
Luminance
0.3878
WCAG relative
Temperature
Cool
77/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
8.76:1
Closest name
Light Steel Blue
ΔE2000 12.6
Where it sits
Hue252° of 360°
Saturation72%
Lightness78%
Temperature
Warm ← → Cool77% 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#ac9cef
RGBrgb(172, 156, 239)
HSLhsl(252, 72%, 78%)
CMYKcmyk(28%, 35%, 0%, 6%)
LABlab(68.6 23.6 -39.6)
LCHlch(68.6 46.1 300.8)
OKLCHoklch(0.738 0.119 292.1)
Decimal11312367
Display P3color(display-p3 0.675 0.612 0.937)

Copy-ready code

/* CSS */
color: #ac9cef;
background-color: #ac9cef;
/* Tailwind (arbitrary) */
class="text-[#ac9cef] bg-[#ac9cef]"
/* SCSS */
$brand: #ac9cef;
/* SwiftUI */
Color(red: 0.675, green: 0.612, blue: 0.937)
/* Android */
Color.parseColor("#ac9cef")
/* Flutter */
Color(0xFFAC9CEF)
/* Python / OpenCV (BGR) */
(239, 156, 172)

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 #ac9cef · 8.76:1
Use #000000AAA at every size.
Aa
White text · 2.40:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.76:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ac9cef as text scores 2.40:1 on white and 8.76:1 on black.

Accessibility — WCAG contrast

Aa
#ac9cef on white: 2.40:1
AA ✗ fail · AA-large · AAA
Aa
#ac9cef on black: 8.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #85A9F2
deuteranopia · #87A6ED
tritanopia · #9DAABB

Color scale — 50 to 950

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

#F5F3FC
#EAE7F8
#D1C9F3
#ac9cef
#866EE8
#5D3EE0
#4422D3
#391CB0
#2D178D
#241566
#170D40
Base = 300Lightest = 50 · #F5F3FCDarkest = 950 · #170D40
:root {
  --brand-50: #F5F3FC;
  --brand-100: #EAE7F8;
  --brand-200: #D1C9F3;
  --brand-300: #ac9cef;
  --brand-400: #866EE8;
  --brand-500: #5D3EE0;
  --brand-600: #4422D3;
  --brand-700: #391CB0;
  --brand-800: #2D178D;
  --brand-900: #241566;
  --brand-950: #170D40;
  --brand: #ac9cef;
  --brand-ink: #000000;
}

Colors that work with #ac9cef

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#C8C0ED
Hairlines and dividers
Muted text#5A4B9B
Captions on the surface
Accent#B3AA19
Second voice, not a rival
Dark variant#24126E
Hover, pressed, headers
Light variant#EDE9FB
Selected rows, tints
Dark surface#171424
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 #ac9cef

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#DFEF9C
Analogous left#9CB6EF
Analogous right#D69CEF
Split-complement 1#EFD69C
Split-complement 2#B6EF9C
Triadic 1#EFAC9C
Triadic 2#9CEFAC
Tetradic#EF9CB6

RGB percentages

Red67.5%
Green61.2%
Blue93.7%

CMYK percentages

Cyan28.0%
Magenta34.7%
Yellow0.0%
Key (black)6.3%

Color previews

#ac9cef text on a black background

contrast 8.76:1

Card sample

#ac9cef text on a white background

contrast 2.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac9cef

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.

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

#ac9cef, answered

What color is #ac9cef?

#ac9cef is a light vivid blue, closest to Light Steel Blue (ΔE2000 12.6). It sits at 252° on the hue wheel with 72% saturation and 78% lightness, which reads as cool.

What is the RGB value of #ac9cef?

rgb(172, 156, 239) — 172 red, 156 green and 239 blue out of 255, or 67.5% / 61.2% / 93.7% by channel.

Is #ac9cef a light or a dark color?

It is a mid-tone. Relative luminance is 0.3878 and perceived brightness is 68%, so black text on it reaches 8.76:1.

Should I use black or white text on #ac9cef?

Black. It scores 8.76:1 against #ac9cef, versus 2.40:1 for white — AAA at any size.

What is the complementary color of #ac9cef?

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

What colors go well with #ac9cef?

For interface work: #F5F4FA as the surface, #C8C0ED for borders, #5A4B9B for secondary text, #B3AA19 as an accent and #24126E for hover and pressed states. For a palette, the analogous pair #9CB6EF and #D69CEF stays calm, while #DFEF9C is the loudest partner.

What is #ac9cef in CMYK for printing?

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

Is #ac9cef warm or cool?

Cool — it scores 77 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CB9CEF; nudged cooler, #9BAAF0.

Work with #ac9cef in the Color Lab