#ac5ccf
a balanced, vivid violet · cool · closest name: Medium Orchid
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.
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 |
| RGB | rgb(172, 92, 207) |
| HSL | hsl(282, 55%, 59%) |
| CMYK | cmyk(17%, 56%, 0%, 19%) |
| LAB | lab(52.9 51.3 -46.5) |
| LCH | lch(52.9 69.2 317.9) |
| OKLCH | oklch(0.615 0.182 314.4) |
| Decimal | 11295951 |
| Display P3 | color(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.
Accessibility — WCAG contrast
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.
: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.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #ac5ccf
Derived from its contrast, chroma and lightness — not from taste.
- ✓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
- ⚠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 | Directly opposite — maximum tension | |
| Analogous left | #725CCF | Neighbour, quieter | |
| Analogous right | #CF5CB9 | Neighbour, quieter | |
| Split-complement 1 | #B9CF5C | Contrast without the clash | |
| Split-complement 2 | #5CCF72 | Contrast without the clash | |
| Triadic 1 | #CFAC5C | Even thirds — balanced and loud | |
| Triadic 2 | #5CCFAC | Even thirds — balanced and loud | |
| Tetradic | #CF725C | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#ac5ccf text on a black background
contrast 5.19:1
#ac5ccf text on a white background
contrast 4.05:1
CSS3 live lab
The quick brown fox
color: #ac5ccf;
background-color: #ac5ccf;
Glowing headline
text-shadow: 2px 2px 8px #ac5ccf;
Soft neon halo
text-shadow: 0 0 14px rgba(172, 92, 207, 0.45);
box-shadow: 0 12px 32px -8px rgba(172, 92, 207, 0.45);
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.
Closest color with a full write-up: Orchid (#da70d6) — ΔE2000 10.7 away, with its history, psychology and brand usage.
#ac5ccf in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
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.