Skip to content

#ab8eb7

a balanced, soft violet · neutral · closest name: Plum

RGB
171, 142, 183
HSL
282°, 22%, 64%
CMYK
7, 22, 0, 28
Luminance
0.3142

At a glance

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

Hex
#ab8eb7
Hue
282°
violet
Saturation
22%
soft
Lightness
64%
balanced
Brightness
72%
HSV value
Perceived
61%
weighted brightness
Luminance
0.3142
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
7.28:1
Closest name
Plum
ΔE2000 10.6
Where it sits
Hue282° of 360°
Saturation22%
Lightness64%
Temperature
Warm ← → Cool56% 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#ab8eb7
RGBrgb(171, 142, 183)
HSLhsl(282, 22%, 64%)
CMYKcmyk(7%, 22%, 0%, 28%)
LABlab(62.9 18.5 -17.3)
LCHlch(62.9 25.3 316.9)
OKLCHoklch(0.687 0.067 316.0)
Decimal11243191
Display P3color(display-p3 0.671 0.557 0.718)

Copy-ready code

/* CSS */
color: #ab8eb7;
background-color: #ab8eb7;
/* Tailwind (arbitrary) */
class="text-[#ab8eb7] bg-[#ab8eb7]"
/* SCSS */
$brand: #ab8eb7;
/* SwiftUI */
Color(red: 0.671, green: 0.557, blue: 0.718)
/* Android */
Color.parseColor("#ab8eb7")
/* Flutter */
Color(0xFFAB8EB7)
/* Python / OpenCV (BGR) */
(183, 142, 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 #ab8eb7 · 7.28:1
Use #000000AAA at every size.
Aa
White text · 2.88:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.28:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ab8eb7 as text scores 2.88:1 on white and 7.28:1 on black.

Accessibility — WCAG contrast

Aa
#ab8eb7 on white: 2.88:1
AA ✗ fail · AA-large · AAA
Aa
#ab8eb7 on black: 7.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8996B9
deuteranopia · #8F99B6
tritanopia · #AB939C

Color scale — 50 to 950

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

#F8F6F9
#F1EDF2
#E1D7E4
#CCBAD3
#ab8eb7
#9976A8
#865F96
#6F4F7D
#593F64
#42314A
#291E2E
Base = 400Lightest = 50 · #F8F6F9Darkest = 950 · #291E2E
:root {
  --brand-50: #F8F6F9;
  --brand-100: #F1EDF2;
  --brand-200: #E1D7E4;
  --brand-300: #CCBAD3;
  --brand-400: #ab8eb7;
  --brand-500: #9976A8;
  --brand-600: #865F96;
  --brand-700: #6F4F7D;
  --brand-800: #593F64;
  --brand-900: #42314A;
  --brand-950: #291E2E;
  --brand: #ab8eb7;
  --brand-ink: #000000;
}

Colors that work with #ab8eb7

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#F8F6F9
Tinted page background
Border#DACDDF
Hairlines and dividers
Muted text#7D598C
Captions on the surface
Accent#69814B
Second voice, not a rival
Dark variant#46324E
Hover, pressed, headers
Light variant#F3EFF5
Selected rows, tints
Dark surface#1F1622
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 #ab8eb7

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

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary 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#9AB78E
Analogous left#968EB7
Analogous right#B78EAE
Split-complement 1#AEB78E
Split-complement 2#8EB796
Triadic 1#B7AB8E
Triadic 2#8EB7AB
Tetradic#B7968E

RGB percentages

Red67.1%
Green55.7%
Blue71.8%

CMYK percentages

Cyan6.6%
Magenta22.4%
Yellow0.0%
Key (black)28.2%

Color previews

#ab8eb7 text on a black background

contrast 7.28:1

Card sample

#ab8eb7 text on a white background

contrast 2.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ab8eb7

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.

#ab8eb7 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
ButtonsLinksFocus statesCharts
Print note

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

#ab8eb7, answered

What color is #ab8eb7?

#ab8eb7 is a balanced soft violet, closest to Plum (ΔE2000 10.6). It sits at 282° on the hue wheel with 22% saturation and 64% lightness, which reads as neutral.

What is the RGB value of #ab8eb7?

rgb(171, 142, 183) — 171 red, 142 green and 183 blue out of 255, or 67.1% / 55.7% / 71.8% by channel.

Is #ab8eb7 a light or a dark color?

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

Should I use black or white text on #ab8eb7?

Black. It scores 7.28:1 against #ab8eb7, versus 2.88:1 for white — AAA at any size.

What is the complementary color of #ab8eb7?

#9AB78E sits directly opposite on the wheel. Softer options are the split-complements #AEB78E and #8EB796, which give the same contrast with far less vibration.

What colors go well with #ab8eb7?

For interface work: #F8F6F9 as the surface, #DACDDF for borders, #7D598C for secondary text, #69814B as an accent and #46324E for hover and pressed states. For a palette, the analogous pair #968EB7 and #B78EAE stays calm, while #9AB78E is the loudest partner.

What is #ab8eb7 in CMYK for printing?

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

Is #ab8eb7 warm or cool?

Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B78EB4; nudged cooler, #9B8CB9.

Work with #ab8eb7 in the Color Lab