Skip to content

#ac4cdd

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

RGB
172, 76, 221
HSL
280°, 68%, 58%
CMYK
22, 66, 0, 13
Luminance
0.1916

At a glance

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

Hex
#ac4cdd
Hue
280°
violet
Saturation
68%
vivid
Lightness
58%
balanced
Brightness
87%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1916
WCAG relative
Temperature
Cool
61/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
4.83:1
Closest name
Medium Orchid
ΔE2000 4.3
Where it sits
Hue280° of 360°
Saturation68%
Lightness58%
Temperature
Warm ← → Cool61% 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#ac4cdd
RGBrgb(172, 76, 221)
HSLhsl(280, 68%, 58%)
CMYKcmyk(22%, 66%, 0%, 13%)
LABlab(50.9 61.9 -57.6)
LCHlch(50.9 84.6 317.1)
OKLCHoklch(0.604 0.219 312.1)
Decimal11291869
Display P3color(display-p3 0.675 0.298 0.867)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac4cdd on white: 4.35:1
AA ✗ fail · AA-large · AAA
Aa
#ac4cdd on black: 4.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0074E1
deuteranopia · #3E7BDA
tritanopia · #A6698E

Color scale — 50 to 950

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

#F9F3FB
#F2E8F8
#E4CAF2
#D3A1ED
#BD72E4
#ac4cdd
#9527CE
#7C21AB
#641A89
#4A1764
#2E0E3E
Base = 500Lightest = 50 · #F9F3FBDarkest = 950 · #2E0E3E
:root {
  --brand-50: #F9F3FB;
  --brand-100: #F2E8F8;
  --brand-200: #E4CAF2;
  --brand-300: #D3A1ED;
  --brand-400: #BD72E4;
  --brand-500: #ac4cdd;
  --brand-600: #9527CE;
  --brand-700: #7C21AB;
  --brand-800: #641A89;
  --brand-900: #4A1764;
  --brand-950: #2E0E3E;
  --brand: #ac4cdd;
  --brand-ink: #000000;
}

Colors that work with #ac4cdd

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#DDC0ED
Hairlines and dividers
Muted text#804B9B
Captions on the surface
Accent#73AF1D
Second voice, not a rival
Dark variant#4E146B
Hover, pressed, headers
Light variant#F5EAFB
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 #ac4cdd

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#7DDD4C
Analogous left#634CDD
Analogous right#DD4CC6
Split-complement 1#C6DD4C
Split-complement 2#4CDD63
Triadic 1#DDAC4C
Triadic 2#4CDDAC
Tetradic#DD634C

RGB percentages

Red67.5%
Green29.8%
Blue86.7%

CMYK percentages

Cyan22.2%
Magenta65.6%
Yellow0.0%
Key (black)13.3%

Color previews

#ac4cdd text on a black background

contrast 4.83:1

Card sample

#ac4cdd text on a white background

contrast 4.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac4cdd

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.

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

#ac4cdd, answered

What color is #ac4cdd?

#ac4cdd is a balanced vivid violet, closest to Medium Orchid (ΔE2000 4.3). It sits at 280° on the hue wheel with 68% saturation and 58% lightness, which reads as cool.

What is the RGB value of #ac4cdd?

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

Is #ac4cdd a light or a dark color?

It is a mid-tone. Relative luminance is 0.1916 and perceived brightness is 52%, so black text on it reaches 4.83:1.

Should I use black or white text on #ac4cdd?

Black. It scores 4.83:1 against #ac4cdd, versus 4.35:1 for white — AA at any size.

What is the complementary color of #ac4cdd?

#7DDD4C sits directly opposite on the wheel. Softer options are the split-complements #C6DD4C and #4CDD63, which give the same contrast with far less vibration.

What colors go well with #ac4cdd?

For interface work: #F8F4FA as the surface, #DDC0ED for borders, #804B9B for secondary text, #73AF1D as an accent and #4E146B for hover and pressed states. For a palette, the analogous pair #634CDD and #DD4CC6 stays calm, while #7DDD4C is the loudest partner.

What is #ac4cdd in CMYK for printing?

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

Is #ac4cdd warm or cool?

Cool — it scores 61 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DD4CD9; nudged cooler, #764ADF.

Work with #ac4cdd in the Color Lab