Skip to content

#ac5ccf

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

RGB
172, 92, 207
HSL
282°, 55%, 59%
CMYK
17, 56, 0, 19
Luminance
0.2093

At a glance

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

Hex
#ac5ccf
Hue
282°
violet
Saturation
55%
vivid
Lightness
59%
balanced
Brightness
81%
HSV value
Perceived
54%
weighted brightness
Luminance
0.2093
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
5.19:1
Closest name
Medium Orchid
ΔE2000 2.6
Where it sits
Hue282° of 360°
Saturation55%
Lightness59%
Temperature
Warm ← → Cool60% 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#ac5ccf
RGBrgb(172, 92, 207)
HSLhsl(282, 55%, 59%)
CMYKcmyk(17%, 56%, 0%, 19%)
LABlab(52.9 51.3 -46.5)
LCHlch(52.9 69.2 317.9)
OKLCHoklch(0.615 0.182 314.4)
Decimal11295951
Display P3color(display-p3 0.675 0.361 0.812)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac5ccf on white: 4.05:1
AA ✗ fail · AA-large · AAA
Aa
#ac5ccf on black: 5.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3E7AD3
deuteranopia · #5A80CC
tritanopia · #A96F8D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ac5ccf 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
#F2E9F6
#E4CEEE
#D3A8E5
#BD7DD9
#ac5ccf
#9438BD
#7C2E9E
#63257E
#491F5C
#2E1339
Base = 500Lightest = 50 · #F9F4FBDarkest = 950 · #2E1339
:root {
  --brand-50: #F9F4FB;
  --brand-100: #F2E9F6;
  --brand-200: #E4CEEE;
  --brand-300: #D3A8E5;
  --brand-400: #BD7DD9;
  --brand-500: #ac5ccf;
  --brand-600: #9438BD;
  --brand-700: #7C2E9E;
  --brand-800: #63257E;
  --brand-900: #491F5C;
  --brand-950: #2E1339;
  --brand: #ac5ccf;
  --brand-ink: #000000;
}

Colors that work with #ac5ccf

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#DFC0EC
Hairlines and dividers
Muted text#824B9B
Captions on the surface
Accent#6CA12B
Second voice, not a rival
Dark variant#4D1D62
Hover, pressed, headers
Light variant#F5EBF9
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 #ac5ccf

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#7FCF5C
Analogous left#725CCF
Analogous right#CF5CB9
Split-complement 1#B9CF5C
Split-complement 2#5CCF72
Triadic 1#CFAC5C
Triadic 2#5CCFAC
Tetradic#CF725C

RGB percentages

Red67.5%
Green36.1%
Blue81.2%

CMYK percentages

Cyan16.9%
Magenta55.6%
Yellow0.0%
Key (black)18.8%

Color previews

#ac5ccf text on a black background

contrast 5.19:1

Card sample

#ac5ccf text on a white background

contrast 4.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac5ccf

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.

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

#ac5ccf, answered

What color is #ac5ccf?

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

What is the RGB value of #ac5ccf?

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

Is #ac5ccf a light or a dark color?

It is a mid-tone. Relative luminance is 0.2093 and perceived brightness is 54%, so black text on it reaches 5.19:1.

Should I use black or white text on #ac5ccf?

Black. It scores 5.19:1 against #ac5ccf, versus 4.05:1 for white — AA at any size.

What is the complementary color of #ac5ccf?

#7FCF5C sits directly opposite on the wheel. Softer options are the split-complements #B9CF5C and #5CCF72, which give the same contrast with far less vibration.

What colors go well with #ac5ccf?

For interface work: #F9F4FA as the surface, #DFC0EC for borders, #824B9B for secondary text, #6CA12B as an accent and #4D1D62 for hover and pressed states. For a palette, the analogous pair #725CCF and #CF5CB9 stays calm, while #7FCF5C is the loudest partner.

What is #ac5ccf in CMYK for printing?

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

Is #ac5ccf warm or cool?

Cool — it scores 60 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CF5CC8; nudged cooler, #815AD1.

Work with #ac5ccf in the Color Lab