Skip to content

#9c98ac

a balanced, muted blue · cool · closest name: Dark Gray

RGB
156, 152, 172
HSL
252°, 11%, 64%
CMYK
9, 12, 0, 33
Luminance
0.3250

At a glance

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

Hex
#9c98ac
Hue
252°
blue
Saturation
11%
muted
Lightness
64%
balanced
Brightness
67%
HSV value
Perceived
61%
weighted brightness
Luminance
0.3250
WCAG relative
Temperature
Cool
58/100 cool
Color family
Blue
Tone
Muted
Best ink
Black
7.50:1
Closest name
Dark Gray
ΔE2000 10.9
Where it sits
Hue252° of 360°
Saturation11%
Lightness64%
Temperature
Warm ← → Cool58% 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#9c98ac
RGBrgb(156, 152, 172)
HSLhsl(252, 11%, 64%)
CMYKcmyk(9%, 12%, 0%, 33%)
LABlab(63.8 5.4 -9.9)
LCHlch(63.8 11.3 298.8)
OKLCHoklch(0.690 0.029 294.8)
Decimal10262700
Display P3color(display-p3 0.612 0.596 0.675)

Copy-ready code

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

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

Accessibility — WCAG contrast

Aa
#9c98ac on white: 2.80:1
AA ✗ fail · AA-large · AAA
Aa
#9c98ac on black: 7.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #949BAD
deuteranopia · #949AAB
tritanopia · #999B9E

Color scale — 50 to 950

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

#F7F7F8
#EFEEF1
#DCDBE1
#C3C1CD
#9c98ac
#88839B
#726D88
#5F5B71
#4C495A
#3A3743
#24222A
Base = 400Lightest = 50 · #F7F7F8Darkest = 950 · #24222A
:root {
  --brand-50: #F7F7F8;
  --brand-100: #EFEEF1;
  --brand-200: #DCDBE1;
  --brand-300: #C3C1CD;
  --brand-400: #9c98ac;
  --brand-500: #88839B;
  --brand-600: #726D88;
  --brand-700: #5F5B71;
  --brand-800: #4C495A;
  --brand-900: #3A3743;
  --brand-950: #24222A;
  --brand: #9c98ac;
  --brand-ink: #000000;
}

Colors that work with #9c98ac

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#F7F7F8
Tinted page background
Border#D4D2DB
Hairlines and dividers
Muted text#6B667F
Captions on the surface
Accent#757357
Second voice, not a rival
Dark variant#3C3947
Hover, pressed, headers
Light variant#F1F1F4
Selected rows, tints
Dark surface#1A191F
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 #9c98ac

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

Works well for
  • Text and icons on dark surfaces
  • Borders, dividers and quiet backgrounds
  • Long-form reading surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#A8AC98
Analogous left#989EAC
Analogous right#A698AC
Split-complement 1#ACA698
Split-complement 2#9EAC98
Triadic 1#AC9C98
Triadic 2#98AC9C
Tetradic#AC989E

RGB percentages

Red61.2%
Green59.6%
Blue67.5%

CMYK percentages

Cyan9.3%
Magenta11.6%
Yellow0.0%
Key (black)32.5%

Color previews

#9c98ac text on a black background

contrast 7.50:1

Card sample

#9c98ac text on a white background

contrast 2.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9c98ac

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.

#9c98ac 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
BackgroundsBordersBody textDividers
Print note

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

#9c98ac, answered

What color is #9c98ac?

#9c98ac is a balanced muted blue, closest to Dark Gray (ΔE2000 10.9). It sits at 252° on the hue wheel with 11% saturation and 64% lightness, which reads as cool.

What is the RGB value of #9c98ac?

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

Is #9c98ac a light or a dark color?

It is a mid-tone. Relative luminance is 0.3250 and perceived brightness is 61%, so black text on it reaches 7.50:1.

Should I use black or white text on #9c98ac?

Black. It scores 7.50:1 against #9c98ac, versus 2.80:1 for white — AAA at any size.

What is the complementary color of #9c98ac?

#A8AC98 sits directly opposite on the wheel. Softer options are the split-complements #ACA698 and #9EAC98, which give the same contrast with far less vibration.

What colors go well with #9c98ac?

For interface work: #F7F7F8 as the surface, #D4D2DB for borders, #6B667F for secondary text, #757357 as an accent and #3C3947 for hover and pressed states. For a palette, the analogous pair #989EAC and #A698AC stays calm, while #A8AC98 is the loudest partner.

What is #9c98ac in CMYK for printing?

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

Is #9c98ac warm or cool?

Cool — it scores 58 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A398AC; nudged cooler, #969AAE.

Work with #9c98ac in the Color Lab