Skip to content

#ab9daf

a light, muted violet · neutral · closest name: Thistle

RGB
171, 157, 175
HSL
287°, 10%, 65%
CMYK
2, 10, 0, 31
Luminance
0.3587

At a glance

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

Hex
#ab9daf
Hue
287°
violet
Saturation
10%
muted
Lightness
65%
light
Brightness
69%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3587
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Violet
Tone
Muted
Best ink
Black
8.17:1
Closest name
Thistle
ΔE2000 10.9
Where it sits
Hue287° of 360°
Saturation10%
Lightness65%
Temperature
Warm ← → Cool52% cool

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

Every format

HEX#ab9daf
RGBrgb(171, 157, 175)
HSLhsl(287, 10%, 65%)
CMYKcmyk(2%, 10%, 0%, 31%)
LABlab(66.4 8.5 -7.5)
LCHlch(66.4 11.3 318.6)
OKLCHoklch(0.714 0.030 318.7)
Decimal11247023
Display P3color(display-p3 0.671 0.616 0.686)

Copy-ready code

/* CSS */
color: #ab9daf;
background-color: #ab9daf;
/* Tailwind (arbitrary) */
class="text-[#ab9daf] bg-[#ab9daf]"
/* SCSS */
$brand: #ab9daf;
/* SwiftUI */
Color(red: 0.671, green: 0.616, blue: 0.686)
/* Android */
Color.parseColor("#ab9daf")
/* Flutter */
Color(0xFFAB9DAF)
/* Python / OpenCV (BGR) */
(175, 157, 171)

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

Accessibility — WCAG contrast

Aa
#ab9daf on white: 2.57:1
AA ✗ fail · AA-large · AAA
Aa
#ab9daf on black: 8.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9BA1B0
deuteranopia · #9EA2AE
tritanopia · #AB9FA3

Color scale — 50 to 950

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

#F8F7F8
#F0EEF1
#DFDBE1
#CAC1CD
#ab9daf
#95839A
#816E87
#6C5C70
#56495A
#403843
#28232A
Base = 400Lightest = 50 · #F8F7F8Darkest = 950 · #28232A
:root {
  --brand-50: #F8F7F8;
  --brand-100: #F0EEF1;
  --brand-200: #DFDBE1;
  --brand-300: #CAC1CD;
  --brand-400: #ab9daf;
  --brand-500: #95839A;
  --brand-600: #816E87;
  --brand-700: #6C5C70;
  --brand-800: #56495A;
  --brand-900: #403843;
  --brand-950: #28232A;
  --brand: #ab9daf;
  --brand-ink: #000000;
}

Colors that work with #ab9daf

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#F8F7F8
Tinted page background
Border#D8D2DA
Hairlines and dividers
Muted text#79677E
Captions on the surface
Accent#657557
Second voice, not a rival
Dark variant#433946
Hover, pressed, headers
Light variant#F3F1F4
Selected rows, tints
Dark surface#1E191F
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 #ab9daf

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
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#A1AF9D
Analogous left#A29DAF
Analogous right#AF9DAA
Split-complement 1#AAAF9D
Split-complement 2#9DAFA2
Triadic 1#AFAB9D
Triadic 2#9DAFAB
Tetradic#AFA29D

RGB percentages

Red67.1%
Green61.6%
Blue68.6%

CMYK percentages

Cyan2.3%
Magenta10.3%
Yellow0.0%
Key (black)31.4%

Color previews

#ab9daf text on a black background

contrast 8.17:1

Card sample

#ab9daf text on a white background

contrast 2.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 157, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 157, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ab9daf;
background: linear-gradient(135deg, #ab9daf, #AF9DA7);

Monochromatic scale

Palettes built from #ab9daf

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.

#ab9daf in the real world

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

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
BackgroundsBordersBody textDividers
Print note

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

#ab9daf, answered

What color is #ab9daf?

#ab9daf is a light muted violet, closest to Thistle (ΔE2000 10.9). It sits at 287° on the hue wheel with 10% saturation and 65% lightness, which reads as neutral.

What is the RGB value of #ab9daf?

rgb(171, 157, 175) — 171 red, 157 green and 175 blue out of 255, or 67.1% / 61.6% / 68.6% by channel.

Is #ab9daf a light or a dark color?

It is a mid-tone. Relative luminance is 0.3587 and perceived brightness is 64%, so black text on it reaches 8.17:1.

Should I use black or white text on #ab9daf?

Black. It scores 8.17:1 against #ab9daf, versus 2.57:1 for white — AAA at any size.

What is the complementary color of #ab9daf?

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

What colors go well with #ab9daf?

For interface work: #F8F7F8 as the surface, #D8D2DA for borders, #79677E for secondary text, #657557 as an accent and #433946 for hover and pressed states. For a palette, the analogous pair #A29DAF and #AF9DAA stays calm, while #A1AF9D is the loudest partner.

What is #ab9daf in CMYK for printing?

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

Is #ab9daf warm or cool?

Neutral — it scores 52 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AF9DAC; nudged cooler, #A49BB1.

Work with #ab9daf in the Color Lab