Skip to content

#ab4cbf

a balanced, vivid violet · neutral · closest name: Medium Orchid

RGB
171, 76, 191
HSL
290°, 47%, 52%
CMYK
11, 60, 0, 25
Luminance
0.1759

At a glance

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

Hex
#ab4cbf
Hue
290°
violet
Saturation
47%
vivid
Lightness
52%
balanced
Brightness
75%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1759
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
4.65:1
Closest name
Medium Orchid
ΔE2000 4.8
Where it sits
Hue290° of 360°
Saturation47%
Lightness52%
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#ab4cbf
RGBrgb(171, 76, 191)
HSLhsl(290, 47%, 52%)
CMYKcmyk(11%, 60%, 0%, 25%)
LABlab(49.0 55.6 -43.4)
LCHlch(49.0 70.5 322.0)
OKLCHoklch(0.584 0.190 320.3)
Decimal11226303
Display P3color(display-p3 0.671 0.298 0.749)

Copy-ready code

/* CSS */
color: #ab4cbf;
background-color: #ab4cbf;
/* Tailwind (arbitrary) */
class="text-[#ab4cbf] bg-[#ab4cbf]"
/* SCSS */
$brand: #ab4cbf;
/* SwiftUI */
Color(red: 0.671, green: 0.298, blue: 0.749)
/* Android */
Color.parseColor("#ab4cbf")
/* Flutter */
Color(0xFFAB4CBF)
/* Python / OpenCV (BGR) */
(191, 76, 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#ffffff on #ab4cbf · 4.65:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.65:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.52:1
AA pass · AA large pass · AAA fail
Reading the other direction: #ab4cbf as text scores 4.65:1 on white and 4.52:1 on black.

Accessibility — WCAG contrast

Aa
#ab4cbf on white: 4.65:1
AA ✓ pass · AA-large · AAA
Aa
#ab4cbf on black: 4.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #326EC3
deuteranopia · #5678BC
tritanopia · #AC5E7E

Color scale — 50 to 950

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

#F9F5FA
#F3EAF5
#E7D0EC
#D8ACE1
#C583D3
#ab4cbf
#A041B4
#863696
#6B2B78
#4F2358
#311637
Base = 500Lightest = 50 · #F9F5FADarkest = 950 · #311637
:root {
  --brand-50: #F9F5FA;
  --brand-100: #F3EAF5;
  --brand-200: #E7D0EC;
  --brand-300: #D8ACE1;
  --brand-400: #C583D3;
  --brand-500: #ab4cbf;
  --brand-600: #A041B4;
  --brand-700: #863696;
  --brand-800: #6B2B78;
  --brand-900: #4F2358;
  --brand-950: #311637;
  --brand: #ab4cbf;
  --brand-ink: #ffffff;
}

Colors that work with #ab4cbf

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F9F4FA
Tinted page background
Border#E3C3E9
Hairlines and dividers
Muted text#8D4B9B
Captions on the surface
Accent#5E9A32
Second voice, not a rival
Dark variant#53225E
Hover, pressed, headers
Light variant#F6ECF8
Selected rows, tints
Dark surface#221424
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 #ab4cbf

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

Works well for
  • Body text and links on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • 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#60BF4C
Analogous left#724CBF
Analogous right#BF4C9A
Split-complement 1#9ABF4C
Split-complement 2#4CBF72
Triadic 1#BFAB4C
Triadic 2#4CBFAB
Tetradic#BF724C

RGB percentages

Red67.1%
Green29.8%
Blue74.9%

CMYK percentages

Cyan10.5%
Magenta60.2%
Yellow0.0%
Key (black)25.1%

Color previews

#ab4cbf text on a black background

contrast 4.52:1

Card sample

#ab4cbf text on a white background

contrast 4.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ab4cbf

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.

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

#ab4cbf, answered

What color is #ab4cbf?

#ab4cbf is a balanced vivid violet, closest to Medium Orchid (ΔE2000 4.8). It sits at 290° on the hue wheel with 47% saturation and 52% lightness, which reads as neutral.

What is the RGB value of #ab4cbf?

rgb(171, 76, 191) — 171 red, 76 green and 191 blue out of 255, or 67.1% / 29.8% / 74.9% by channel.

Is #ab4cbf a light or a dark color?

It is a dark color. Relative luminance is 0.1759 and perceived brightness is 50%, so white text on it reaches 4.65:1.

Should I use black or white text on #ab4cbf?

White. It scores 4.65:1 against #ab4cbf, versus 4.52:1 for black — AA at any size.

What is the complementary color of #ab4cbf?

#60BF4C sits directly opposite on the wheel. Softer options are the split-complements #9ABF4C and #4CBF72, which give the same contrast with far less vibration.

What colors go well with #ab4cbf?

For interface work: #F9F4FA as the surface, #E3C3E9 for borders, #8D4B9B for secondary text, #5E9A32 as an accent and #53225E for hover and pressed states. For a palette, the analogous pair #724CBF and #BF4C9A stays calm, while #60BF4C is the loudest partner.

What is #ab4cbf in CMYK for printing?

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

Is #ab4cbf 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 #BF4CA9; nudged cooler, #814AC1.

Work with #ab4cbf in the Color Lab