Skip to content

#ac4ce4

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

RGB
172, 76, 228
HSL
278°, 74%, 60%
CMYK
25, 67, 0, 11
Luminance
0.1954

At a glance

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

Hex
#ac4ce4
Hue
278°
violet
Saturation
74%
vivid
Lightness
60%
balanced
Brightness
89%
HSV value
Perceived
53%
weighted brightness
Luminance
0.1954
WCAG relative
Temperature
Cool
62/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
4.91:1
Closest name
Medium Orchid
ΔE2000 4.9
Where it sits
Hue278° of 360°
Saturation74%
Lightness60%
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#ac4ce4
RGBrgb(172, 76, 228)
HSLhsl(278, 74%, 60%)
CMYKcmyk(25%, 67%, 0%, 11%)
LABlab(51.3 63.4 -60.9)
LCHlch(51.3 87.9 316.2)
OKLCHoklch(0.608 0.226 310.4)
Decimal11291876
Display P3color(display-p3 0.675 0.298 0.894)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac4ce4 on white: 4.28:1
AA ✗ fail · AA-large · AAA
Aa
#ac4ce4 on black: 4.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0076E9
deuteranopia · #367CE1
tritanopia · #A46C92

Color scale — 50 to 950

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

#F9F3FC
#F2E7F9
#E4C8F3
#D29DF0
#BB6DE9
#ac4ce4
#9220D5
#7A1BB1
#61158E
#481467
#2D0C40
Base = 500Lightest = 50 · #F9F3FCDarkest = 950 · #2D0C40
:root {
  --brand-50: #F9F3FC;
  --brand-100: #F2E7F9;
  --brand-200: #E4C8F3;
  --brand-300: #D29DF0;
  --brand-400: #BB6DE9;
  --brand-500: #ac4ce4;
  --brand-600: #9220D5;
  --brand-700: #7A1BB1;
  --brand-800: #61158E;
  --brand-900: #481467;
  --brand-950: #2D0C40;
  --brand: #ac4ce4;
  --brand-ink: #000000;
}

Colors that work with #ac4ce4

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#DCC0ED
Hairlines and dividers
Muted text#7D4B9B
Captions on the surface
Accent#79B517
Second voice, not a rival
Dark variant#4C116F
Hover, pressed, headers
Light variant#F5E9FC
Selected rows, tints
Dark surface#1E1424
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 #ac4ce4

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#84E44C
Analogous left#604CE4
Analogous right#E44CD0
Split-complement 1#D0E44C
Split-complement 2#4CE460
Triadic 1#E4AC4C
Triadic 2#4CE4AC
Tetradic#E4604C

RGB percentages

Red67.5%
Green29.8%
Blue89.4%

CMYK percentages

Cyan24.6%
Magenta66.7%
Yellow0.0%
Key (black)10.6%

Color previews

#ac4ce4 text on a black background

contrast 4.91:1

Card sample

#ac4ce4 text on a white background

contrast 4.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac4ce4

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.

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

#ac4ce4, answered

What color is #ac4ce4?

#ac4ce4 is a balanced vivid violet, closest to Medium Orchid (ΔE2000 4.9). It sits at 278° on the hue wheel with 74% saturation and 60% lightness, which reads as cool.

What is the RGB value of #ac4ce4?

rgb(172, 76, 228) — 172 red, 76 green and 228 blue out of 255, or 67.5% / 29.8% / 89.4% by channel.

Is #ac4ce4 a light or a dark color?

It is a mid-tone. Relative luminance is 0.1954 and perceived brightness is 53%, so black text on it reaches 4.91:1.

Should I use black or white text on #ac4ce4?

Black. It scores 4.91:1 against #ac4ce4, versus 4.28:1 for white — AA at any size.

What is the complementary color of #ac4ce4?

#84E44C sits directly opposite on the wheel. Softer options are the split-complements #D0E44C and #4CE460, which give the same contrast with far less vibration.

What colors go well with #ac4ce4?

For interface work: #F8F4FA as the surface, #DCC0ED for borders, #7D4B9B for secondary text, #79B517 as an accent and #4C116F for hover and pressed states. For a palette, the analogous pair #604CE4 and #E44CD0 stays calm, while #84E44C is the loudest partner.

What is #ac4ce4 in CMYK for printing?

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

Is #ac4ce4 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 #E44CE4; nudged cooler, #734AE6.

Work with #ac4ce4 in the Color Lab