Skip to content

#ac82cf

a light, soft violet · cool · closest name: Medium Purple

RGB
172, 130, 207
HSL
273°, 45%, 66%
CMYK
17, 37, 0, 19
Luminance
0.2924

At a glance

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

Hex
#ac82cf
Hue
273°
violet
Saturation
45%
soft
Lightness
66%
light
Brightness
81%
HSV value
Perceived
60%
weighted brightness
Luminance
0.2924
WCAG relative
Temperature
Cool
65/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
6.85:1
Closest name
Medium Purple
ΔE2000 8.5
Where it sits
Hue273° of 360°
Saturation45%
Lightness66%
Temperature
Warm ← → Cool65% 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#ac82cf
RGBrgb(172, 130, 207)
HSLhsl(273, 45%, 66%)
CMYKcmyk(17%, 37%, 0%, 19%)
LABlab(61.0 30.8 -33.7)
LCHlch(61.0 45.6 312.4)
OKLCHoklch(0.676 0.119 308.5)
Decimal11305679
Display P3color(display-p3 0.675 0.510 0.812)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac82cf on white: 3.07:1
AA ✗ fail · AA-large · AAA
Aa
#ac82cf on black: 6.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7391D2
deuteranopia · #7C94CD
tritanopia · #A88D9F

Color scale — 50 to 950

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

#F8F5FA
#F0EAF5
#DFD1EB
#C9AEE0
#ac82cf
#935DC1
#7F44B1
#6A3993
#552D76
#3F2456
#281736
Base = 400Lightest = 50 · #F8F5FADarkest = 950 · #281736
:root {
  --brand-50: #F8F5FA;
  --brand-100: #F0EAF5;
  --brand-200: #DFD1EB;
  --brand-300: #C9AEE0;
  --brand-400: #ac82cf;
  --brand-500: #935DC1;
  --brand-600: #7F44B1;
  --brand-700: #6A3993;
  --brand-800: #552D76;
  --brand-900: #3F2456;
  --brand-950: #281736;
  --brand: #ac82cf;
  --brand-ink: #000000;
}

Colors that work with #ac82cf

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#F8F4FA
Tinted page background
Border#D8C4E8
Hairlines and dividers
Muted text#764B9B
Captions on the surface
Accent#7B9735
Second voice, not a rival
Dark variant#42235C
Hover, pressed, headers
Light variant#F3EDF8
Selected rows, tints
Dark surface#1D1424
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 #ac82cf

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
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#A5CF82
Analogous left#8682CF
Analogous right#CF82CC
Split-complement 1#CCCF82
Split-complement 2#82CF86
Triadic 1#CFAC82
Triadic 2#82CFAC
Tetradic#CF8682

RGB percentages

Red67.5%
Green51.0%
Blue81.2%

CMYK percentages

Cyan16.9%
Magenta37.2%
Yellow0.0%
Key (black)18.8%

Color previews

#ac82cf text on a black background

contrast 6.85:1

Card sample

#ac82cf text on a white background

contrast 3.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac82cf

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.

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

#ac82cf, answered

What color is #ac82cf?

#ac82cf is a light soft violet, closest to Medium Purple (ΔE2000 8.5). It sits at 273° on the hue wheel with 45% saturation and 66% lightness, which reads as cool.

What is the RGB value of #ac82cf?

rgb(172, 130, 207) — 172 red, 130 green and 207 blue out of 255, or 67.5% / 51% / 81.2% by channel.

Is #ac82cf a light or a dark color?

It is a mid-tone. Relative luminance is 0.2924 and perceived brightness is 60%, so black text on it reaches 6.85:1.

Should I use black or white text on #ac82cf?

Black. It scores 6.85:1 against #ac82cf, versus 3.07:1 for white — AA at any size.

What is the complementary color of #ac82cf?

#A5CF82 sits directly opposite on the wheel. Softer options are the split-complements #CCCF82 and #82CF86, which give the same contrast with far less vibration.

What colors go well with #ac82cf?

For interface work: #F8F4FA as the surface, #D8C4E8 for borders, #764B9B for secondary text, #7B9735 as an accent and #42235C for hover and pressed states. For a palette, the analogous pair #8682CF and #CF82CC stays calm, while #A5CF82 is the loudest partner.

What is #ac82cf in CMYK for printing?

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

Is #ac82cf warm or cool?

Cool — it scores 65 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C882CF; nudged cooler, #8F80D1.

Work with #ac82cf in the Color Lab