Skip to content

#ac6fba

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

RGB
172, 111, 186
HSL
289°, 35%, 58%
CMYK
8, 40, 0, 27
Luminance
0.2368

At a glance

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

Hex
#ac6fba
Hue
289°
violet
Saturation
35%
soft
Lightness
58%
balanced
Brightness
73%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2368
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
5.74:1
Closest name
Medium Orchid
ΔE2000 7.8
Where it sits
Hue289° of 360°
Saturation35%
Lightness58%
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#ac6fba
RGBrgb(172, 111, 186)
HSLhsl(289, 35%, 58%)
CMYKcmyk(8%, 40%, 0%, 27%)
LABlab(55.8 36.9 -29.9)
LCHlch(55.8 47.5 321.0)
OKLCHoklch(0.634 0.128 320.0)
Decimal11300794
Display P3color(display-p3 0.675 0.435 0.729)

Copy-ready code

/* CSS */
color: #ac6fba;
background-color: #ac6fba;
/* Tailwind (arbitrary) */
class="text-[#ac6fba] bg-[#ac6fba]"
/* SCSS */
$brand: #ac6fba;
/* SwiftUI */
Color(red: 0.675, green: 0.435, blue: 0.729)
/* Android */
Color.parseColor("#ac6fba")
/* Flutter */
Color(0xFFAC6FBA)
/* Python / OpenCV (BGR) */
(186, 111, 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 #ac6fba · 5.74:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.66:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.74:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #ac6fba as text scores 3.66:1 on white and 5.74:1 on black.

Accessibility — WCAG contrast

Aa
#ac6fba on white: 3.66:1
AA ✗ fail · AA-large · AAA
Aa
#ac6fba on black: 5.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6581BD
deuteranopia · #7588B8
tritanopia · #AD788C

Color scale — 50 to 950

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

#F9F5F9
#F2EBF4
#E4D4E8
#D3B3DB
#BD8DC8
#ac6fba
#954FA5
#7C428A
#64356E
#4A2951
#2E1A33
Base = 500Lightest = 50 · #F9F5F9Darkest = 950 · #2E1A33
:root {
  --brand-50: #F9F5F9;
  --brand-100: #F2EBF4;
  --brand-200: #E4D4E8;
  --brand-300: #D3B3DB;
  --brand-400: #BD8DC8;
  --brand-500: #ac6fba;
  --brand-600: #954FA5;
  --brand-700: #7C428A;
  --brand-800: #64356E;
  --brand-900: #4A2951;
  --brand-950: #2E1A33;
  --brand: #ac6fba;
  --brand-ink: #000000;
}

Colors that work with #ac6fba

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#F9F5FA
Tinted page background
Border#DFC8E5
Hairlines and dividers
Muted text#8C4B9B
Captions on the surface
Accent#618E3E
Second voice, not a rival
Dark variant#4E2956
Hover, pressed, headers
Light variant#F5EEF7
Selected rows, tints
Dark surface#211424
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 #ac6fba

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

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#7DBA6F
Analogous left#866FBA
Analogous right#BA6FA2
Split-complement 1#A2BA6F
Split-complement 2#6FBA86
Triadic 1#BAAC6F
Triadic 2#6FBAAC
Tetradic#BA866F

RGB percentages

Red67.5%
Green43.5%
Blue72.9%

CMYK percentages

Cyan7.5%
Magenta40.3%
Yellow0.0%
Key (black)27.1%

Color previews

#ac6fba text on a black background

contrast 5.74:1

Card sample

#ac6fba text on a white background

contrast 3.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac6fba

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.

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

#ac6fba, answered

What color is #ac6fba?

#ac6fba is a balanced soft violet, closest to Medium Orchid (ΔE2000 7.8). It sits at 289° on the hue wheel with 35% saturation and 58% lightness, which reads as neutral.

What is the RGB value of #ac6fba?

rgb(172, 111, 186) — 172 red, 111 green and 186 blue out of 255, or 67.5% / 43.5% / 72.9% by channel.

Is #ac6fba a light or a dark color?

It is a mid-tone. Relative luminance is 0.2368 and perceived brightness is 55%, so black text on it reaches 5.74:1.

Should I use black or white text on #ac6fba?

Black. It scores 5.74:1 against #ac6fba, versus 3.66:1 for white — AA at any size.

What is the complementary color of #ac6fba?

#7DBA6F sits directly opposite on the wheel. Softer options are the split-complements #A2BA6F and #6FBA86, which give the same contrast with far less vibration.

What colors go well with #ac6fba?

For interface work: #F9F5FA as the surface, #DFC8E5 for borders, #8C4B9B for secondary text, #618E3E as an accent and #4E2956 for hover and pressed states. For a palette, the analogous pair #866FBA and #BA6FA2 stays calm, while #7DBA6F is the loudest partner.

What is #ac6fba in CMYK for printing?

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

Is #ac6fba 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 #BA6FAC; nudged cooler, #906DBC.

Work with #ac6fba in the Color Lab