Skip to content

#ac4acf

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

RGB
172, 74, 207
HSL
284°, 58%, 55%
CMYK
17, 64, 0, 19
Luminance
0.1817

At a glance

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

Hex
#ac4acf
Hue
284°
violet
Saturation
58%
vivid
Lightness
55%
balanced
Brightness
81%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1817
WCAG relative
Temperature
Cool
59/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
4.63:1
Closest name
Medium Orchid
ΔE2000 4.1
Where it sits
Hue284° of 360°
Saturation58%
Lightness55%
Temperature
Warm ← → Cool59% 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#ac4acf
RGBrgb(172, 74, 207)
HSLhsl(284, 58%, 55%)
CMYKcmyk(17%, 64%, 0%, 19%)
LABlab(49.7 59.9 -51.5)
LCHlch(49.7 79.0 319.3)
OKLCHoklch(0.592 0.208 316.0)
Decimal11291343
Display P3color(display-p3 0.675 0.290 0.812)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac4acf on white: 4.53:1
AA ✓ pass · AA-large · AAA
Aa
#ac4acf on black: 4.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #1470D3
deuteranopia · #4A79CC
tritanopia · #AA6386

Color scale — 50 to 950

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

#F9F4FB
#F3E9F7
#E6CDEF
#D6A6E7
#C27ADC
#ac4acf
#9C33C2
#822BA1
#682281
#4D1C5E
#30123B
Base = 500Lightest = 50 · #F9F4FBDarkest = 950 · #30123B
:root {
  --brand-50: #F9F4FB;
  --brand-100: #F3E9F7;
  --brand-200: #E6CDEF;
  --brand-300: #D6A6E7;
  --brand-400: #C27ADC;
  --brand-500: #ac4acf;
  --brand-600: #9C33C2;
  --brand-700: #822BA1;
  --brand-800: #682281;
  --brand-900: #4D1C5E;
  --brand-950: #30123B;
  --brand: #ac4acf;
  --brand-ink: #000000;
}

Colors that work with #ac4acf

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#F9F4FA
Tinted page background
Border#E1C0ED
Hairlines and dividers
Muted text#864B9B
Captions on the surface
Accent#67A626
Second voice, not a rival
Dark variant#511B65
Hover, pressed, headers
Light variant#F6EBFA
Selected rows, tints
Dark surface#201424
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 #ac4acf

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#6DCF4A
Analogous left#694ACF
Analogous right#CF4AB0
Split-complement 1#B0CF4A
Split-complement 2#4ACF69
Triadic 1#CFAC4A
Triadic 2#4ACFAC
Tetradic#CF694A

RGB percentages

Red67.5%
Green29.0%
Blue81.2%

CMYK percentages

Cyan16.9%
Magenta64.3%
Yellow0.0%
Key (black)18.8%

Color previews

#ac4acf text on a black background

contrast 4.63:1

Card sample

#ac4acf text on a white background

contrast 4.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac4acf

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.

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

#ac4acf, answered

What color is #ac4acf?

#ac4acf is a balanced vivid violet, closest to Medium Orchid (ΔE2000 4.1). It sits at 284° on the hue wheel with 58% saturation and 55% lightness, which reads as cool.

What is the RGB value of #ac4acf?

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

Is #ac4acf a light or a dark color?

It is a mid-tone. Relative luminance is 0.1817 and perceived brightness is 51%, so black text on it reaches 4.63:1.

Should I use black or white text on #ac4acf?

Black. It scores 4.63:1 against #ac4acf, versus 4.53:1 for white — AA at any size.

What is the complementary color of #ac4acf?

#6DCF4A sits directly opposite on the wheel. Softer options are the split-complements #B0CF4A and #4ACF69, which give the same contrast with far less vibration.

What colors go well with #ac4acf?

For interface work: #F9F4FA as the surface, #E1C0ED for borders, #864B9B for secondary text, #67A626 as an accent and #511B65 for hover and pressed states. For a palette, the analogous pair #694ACF and #CF4AB0 stays calm, while #6DCF4A is the loudest partner.

What is #ac4acf in CMYK for printing?

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

Is #ac4acf warm or cool?

Cool — it scores 59 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CF4AC1; nudged cooler, #7B48D1.

Work with #ac4acf in the Color Lab