Skip to content

#ac8cc2

a light, soft violet · cool · closest name: Plum

RGB
172, 140, 194
HSL
276°, 31%, 66%
CMYK
11, 28, 0, 24
Luminance
0.3142

At a glance

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

Hex
#ac8cc2
Hue
276°
violet
Saturation
31%
soft
Lightness
66%
light
Brightness
76%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3142
WCAG relative
Temperature
Cool
62/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
7.28:1
Closest name
Plum
ΔE2000 10
Where it sits
Hue276° of 360°
Saturation31%
Lightness66%
Temperature
Warm ← → Cool62% 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#ac8cc2
RGBrgb(172, 140, 194)
HSLhsl(276, 31%, 66%)
CMYKcmyk(11%, 28%, 0%, 24%)
LABlab(62.9 22.3 -23.5)
LCHlch(62.9 32.4 313.5)
OKLCHoklch(0.689 0.085 311.1)
Decimal11308226
Display P3color(display-p3 0.675 0.549 0.761)

Copy-ready code

/* CSS */
color: #ac8cc2;
background-color: #ac8cc2;
/* Tailwind (arbitrary) */
class="text-[#ac8cc2] bg-[#ac8cc2]"
/* SCSS */
$brand: #ac8cc2;
/* SwiftUI */
Color(red: 0.675, green: 0.549, blue: 0.761)
/* Android */
Color.parseColor("#ac8cc2")
/* Flutter */
Color(0xFFAC8CC2)
/* Python / OpenCV (BGR) */
(194, 140, 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 #ac8cc2 · 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: #ac8cc2 as text scores 2.88:1 on white and 7.28:1 on black.

Accessibility — WCAG contrast

Aa
#ac8cc2 on white: 2.88:1
AA ✗ fail · AA-large · AAA
Aa
#ac8cc2 on black: 7.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8396C4
deuteranopia · #8A99C0
tritanopia · #AA939F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ac8cc2 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
#F0ECF3
#E0D5E7
#CAB6D8
#ac8cc2
#956CB1
#8155A0
#6C4785
#56396B
#402C4E
#281B31
Base = 400Lightest = 50 · #F8F6F9Darkest = 950 · #281B31
:root {
  --brand-50: #F8F6F9;
  --brand-100: #F0ECF3;
  --brand-200: #E0D5E7;
  --brand-300: #CAB6D8;
  --brand-400: #ac8cc2;
  --brand-500: #956CB1;
  --brand-600: #8155A0;
  --brand-700: #6C4785;
  --brand-800: #56396B;
  --brand-900: #402C4E;
  --brand-950: #281B31;
  --brand: #ac8cc2;
  --brand-ink: #000000;
}

Colors that work with #ac8cc2

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#F8F5FA
Tinted page background
Border#D9CAE3
Hairlines and dividers
Muted text#795096
Captions on the surface
Accent#728A42
Second voice, not a rival
Dark variant#432C53
Hover, pressed, headers
Light variant#F3EEF6
Selected rows, tints
Dark surface#1E1424
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 #ac8cc2

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

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary 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#A2C28C
Analogous left#918CC2
Analogous right#C28CBD
Split-complement 1#BDC28C
Split-complement 2#8CC291
Triadic 1#C2AC8C
Triadic 2#8CC2AC
Tetradic#C2918C

RGB percentages

Red67.5%
Green54.9%
Blue76.1%

CMYK percentages

Cyan11.3%
Magenta27.8%
Yellow0.0%
Key (black)23.9%

Color previews

#ac8cc2 text on a black background

contrast 7.28:1

Card sample

#ac8cc2 text on a white background

contrast 2.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac8cc2

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.

#ac8cc2 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
SurfacesBadgesHighlightsEmpty states
Print note

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

#ac8cc2, answered

What color is #ac8cc2?

#ac8cc2 is a light soft violet, closest to Plum (ΔE2000 10). It sits at 276° on the hue wheel with 31% saturation and 66% lightness, which reads as cool.

What is the RGB value of #ac8cc2?

rgb(172, 140, 194) — 172 red, 140 green and 194 blue out of 255, or 67.5% / 54.9% / 76.1% by channel.

Is #ac8cc2 a light or a dark color?

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

Should I use black or white text on #ac8cc2?

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

What is the complementary color of #ac8cc2?

#A2C28C sits directly opposite on the wheel. Softer options are the split-complements #BDC28C and #8CC291, which give the same contrast with far less vibration.

What colors go well with #ac8cc2?

For interface work: #F8F5FA as the surface, #D9CAE3 for borders, #795096 for secondary text, #728A42 as an accent and #432C53 for hover and pressed states. For a palette, the analogous pair #918CC2 and #C28CBD stays calm, while #A2C28C is the loudest partner.

What is #ac8cc2 in CMYK for printing?

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

Is #ac8cc2 warm or cool?

Cool — it scores 62 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C08CC2; nudged cooler, #978AC4.

Work with #ac8cc2 in the Color Lab