Skip to content

#ac6fc2

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

RGB
172, 111, 194
HSL
284°, 41%, 60%
CMYK
11, 43, 0, 24
Luminance
0.2403

At a glance

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

Hex
#ac6fc2
Hue
284°
violet
Saturation
41%
soft
Lightness
60%
balanced
Brightness
76%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2403
WCAG relative
Temperature
Cool
59/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
5.81:1
Closest name
Medium Orchid
ΔE2000 6.8
Where it sits
Hue284° of 360°
Saturation41%
Lightness60%
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#ac6fc2
RGBrgb(172, 111, 194)
HSLhsl(284, 41%, 60%)
CMYKcmyk(11%, 43%, 0%, 24%)
LABlab(56.1 38.5 -33.9)
LCHlch(56.1 51.3 318.6)
OKLCHoklch(0.637 0.137 316.7)
Decimal11300802
Display P3color(display-p3 0.675 0.435 0.761)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac6fc2 on white: 3.62:1
AA ✗ fail · AA-large · AAA
Aa
#ac6fc2 on black: 5.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6183C5
deuteranopia · #7188C0
tritanopia · #AB7A8F

Color scale — 50 to 950

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

#F8F5FA
#F2EBF5
#E3D2EA
#D2B0DE
#BB89CD
#ac6fc2
#9249AC
#793D8F
#613173
#482654
#2D1835
Base = 500Lightest = 50 · #F8F5FADarkest = 950 · #2D1835
:root {
  --brand-50: #F8F5FA;
  --brand-100: #F2EBF5;
  --brand-200: #E3D2EA;
  --brand-300: #D2B0DE;
  --brand-400: #BB89CD;
  --brand-500: #ac6fc2;
  --brand-600: #9249AC;
  --brand-700: #793D8F;
  --brand-800: #613173;
  --brand-900: #482654;
  --brand-950: #2D1835;
  --brand: #ac6fc2;
  --brand-ink: #000000;
}

Colors that work with #ac6fc2

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#DEC6E7
Hairlines and dividers
Muted text#864B9B
Captions on the surface
Accent#689339
Second voice, not a rival
Dark variant#4C265A
Hover, pressed, headers
Light variant#F5EDF7
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 #ac6fc2

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#85C26F
Analogous left#826FC2
Analogous right#C26FAE
Split-complement 1#AEC26F
Split-complement 2#6FC282
Triadic 1#C2AC6F
Triadic 2#6FC2AC
Tetradic#C2826F

RGB percentages

Red67.5%
Green43.5%
Blue76.1%

CMYK percentages

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

Color previews

#ac6fc2 text on a black background

contrast 5.81:1

Card sample

#ac6fc2 text on a white background

contrast 3.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac6fc2

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.

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

#ac6fc2, answered

What color is #ac6fc2?

#ac6fc2 is a balanced soft violet, closest to Medium Orchid (ΔE2000 6.8). It sits at 284° on the hue wheel with 41% saturation and 60% lightness, which reads as cool.

What is the RGB value of #ac6fc2?

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

Is #ac6fc2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2403 and perceived brightness is 56%, so black text on it reaches 5.81:1.

Should I use black or white text on #ac6fc2?

Black. It scores 5.81:1 against #ac6fc2, versus 3.62:1 for white — AA at any size.

What is the complementary color of #ac6fc2?

#85C26F sits directly opposite on the wheel. Softer options are the split-complements #AEC26F and #6FC282, which give the same contrast with far less vibration.

What colors go well with #ac6fc2?

For interface work: #F9F4FA as the surface, #DEC6E7 for borders, #864B9B for secondary text, #689339 as an accent and #4C265A for hover and pressed states. For a palette, the analogous pair #826FC2 and #C26FAE stays calm, while #85C26F is the loudest partner.

What is #ac6fc2 in CMYK for printing?

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

Is #ac6fc2 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 #C26FBA; nudged cooler, #8D6DC4.

Work with #ac6fc2 in the Color Lab