Skip to content

#ac6ccf

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

RGB
172, 108, 207
HSL
279°, 51%, 62%
CMYK
17, 48, 0, 19
Luminance
0.2400

At a glance

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

Hex
#ac6ccf
Hue
279°
violet
Saturation
51%
vivid
Lightness
62%
balanced
Brightness
81%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2400
WCAG relative
Temperature
Cool
62/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
5.80:1
Closest name
Medium Orchid
ΔE2000 5.4
Where it sits
Hue279° of 360°
Saturation51%
Lightness62%
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#ac6ccf
RGBrgb(172, 108, 207)
HSLhsl(279, 51%, 62%)
CMYKcmyk(17%, 48%, 0%, 19%)
LABlab(56.1 42.9 -41.4)
LCHlch(56.1 59.6 316.1)
OKLCHoklch(0.639 0.156 312.5)
Decimal11300047
Display P3color(display-p3 0.675 0.424 0.812)

Copy-ready code

/* CSS */
color: #ac6ccf;
background-color: #ac6ccf;
/* Tailwind (arbitrary) */
class="text-[#ac6ccf] bg-[#ac6ccf]"
/* SCSS */
$brand: #ac6ccf;
/* SwiftUI */
Color(red: 0.675, green: 0.424, blue: 0.812)
/* Android */
Color.parseColor("#ac6ccf")
/* Flutter */
Color(0xFFAC6CCF)
/* Python / OpenCV (BGR) */
(207, 108, 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 #ac6ccf · 5.80: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.80:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #ac6ccf as text scores 3.62:1 on white and 5.80:1 on black.

Accessibility — WCAG contrast

Aa
#ac6ccf on white: 3.62:1
AA ✗ fail · AA-large · AAA
Aa
#ac6ccf on black: 5.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5683D2
deuteranopia · #6888CC
tritanopia · #A97B94

Color scale — 50 to 950

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

#F8F4FA
#F1EAF6
#E2CFED
#CFAAE3
#ac6ccf
#A056C8
#8D3CB9
#75329A
#5E287B
#46215A
#2B1438
Base = 400Lightest = 50 · #F8F4FADarkest = 950 · #2B1438
:root {
  --brand-50: #F8F4FA;
  --brand-100: #F1EAF6;
  --brand-200: #E2CFED;
  --brand-300: #CFAAE3;
  --brand-400: #ac6ccf;
  --brand-500: #A056C8;
  --brand-600: #8D3CB9;
  --brand-700: #75329A;
  --brand-800: #5E287B;
  --brand-900: #46215A;
  --brand-950: #2B1438;
  --brand: #ac6ccf;
  --brand-ink: #000000;
}

Colors that work with #ac6ccf

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#DCC1EB
Hairlines and dividers
Muted text#7F4B9B
Captions on the surface
Accent#729E2E
Second voice, not a rival
Dark variant#491F60
Hover, pressed, headers
Light variant#F4ECF9
Selected rows, tints
Dark surface#1F1424
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 #ac6ccf

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
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#8FCF6C
Analogous left#7B6CCF
Analogous right#CF6CC1
Split-complement 1#C1CF6C
Split-complement 2#6CCF7B
Triadic 1#CFAC6C
Triadic 2#6CCFAC
Tetradic#CF7B6C

RGB percentages

Red67.5%
Green42.4%
Blue81.2%

CMYK percentages

Cyan16.9%
Magenta47.8%
Yellow0.0%
Key (black)18.8%

Color previews

#ac6ccf text on a black background

contrast 5.80:1

Card sample

#ac6ccf text on a white background

contrast 3.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac6ccf

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.

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

#ac6ccf, answered

What color is #ac6ccf?

#ac6ccf is a balanced vivid violet, closest to Medium Orchid (ΔE2000 5.4). It sits at 279° on the hue wheel with 51% saturation and 62% lightness, which reads as cool.

What is the RGB value of #ac6ccf?

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

Is #ac6ccf a light or a dark color?

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

Should I use black or white text on #ac6ccf?

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

What is the complementary color of #ac6ccf?

#8FCF6C sits directly opposite on the wheel. Softer options are the split-complements #C1CF6C and #6CCF7B, which give the same contrast with far less vibration.

What colors go well with #ac6ccf?

For interface work: #F8F4FA as the surface, #DCC1EB for borders, #7F4B9B for secondary text, #729E2E as an accent and #491F60 for hover and pressed states. For a palette, the analogous pair #7B6CCF and #CF6CC1 stays calm, while #8FCF6C is the loudest partner.

What is #ac6ccf in CMYK for printing?

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

Is #ac6ccf 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 #CF6CCE; nudged cooler, #876AD1.

Work with #ac6ccf in the Color Lab