Skip to content

#ac4dda

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

RGB
172, 77, 218
HSL
280°, 66%, 58%
CMYK
21, 65, 0, 15
Luminance
0.1914

At a glance

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

Hex
#ac4dda
Hue
280°
violet
Saturation
66%
vivid
Lightness
58%
balanced
Brightness
85%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1914
WCAG relative
Temperature
Cool
61/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
4.83:1
Closest name
Medium Orchid
ΔE2000 4
Where it sits
Hue280° of 360°
Saturation66%
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#ac4dda
RGBrgb(172, 77, 218)
HSLhsl(280, 66%, 58%)
CMYKcmyk(21%, 65%, 0%, 15%)
LABlab(50.9 60.8 -56.0)
LCHlch(50.9 82.7 317.4)
OKLCHoklch(0.603 0.215 312.8)
Decimal11292122
Display P3color(display-p3 0.675 0.302 0.855)

Copy-ready code

/* CSS */
color: #ac4dda;
background-color: #ac4dda;
/* Tailwind (arbitrary) */
class="text-[#ac4dda] bg-[#ac4dda]"
/* SCSS */
$brand: #ac4dda;
/* SwiftUI */
Color(red: 0.675, green: 0.302, blue: 0.855)
/* Android */
Color.parseColor("#ac4dda")
/* Flutter */
Color(0xFFAC4DDA)
/* Python / OpenCV (BGR) */
(218, 77, 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 #ac4dda · 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: #ac4dda as text scores 4.35:1 on white and 4.83:1 on black.

Accessibility — WCAG contrast

Aa
#ac4dda on white: 4.35:1
AA ✗ fail · AA-large · AAA
Aa
#ac4dda on black: 4.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0074DE
deuteranopia · #437BD7
tritanopia · #A7698D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ac4dda 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
#E4CBF1
#D4A2EC
#BE74E2
#ac4dda
#962ACB
#7D23A9
#641C87
#4A1862
#2E0F3D
Base = 500Lightest = 50 · #F9F3FBDarkest = 950 · #2E0F3D
:root {
  --brand-50: #F9F3FB;
  --brand-100: #F2E8F8;
  --brand-200: #E4CBF1;
  --brand-300: #D4A2EC;
  --brand-400: #BE74E2;
  --brand-500: #ac4dda;
  --brand-600: #962ACB;
  --brand-700: #7D23A9;
  --brand-800: #641C87;
  --brand-900: #4A1862;
  --brand-950: #2E0F3D;
  --brand: #ac4dda;
  --brand-ink: #000000;
}

Colors that work with #ac4dda

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#DEC0ED
Hairlines and dividers
Muted text#814B9B
Captions on the surface
Accent#71AD1F
Second voice, not a rival
Dark variant#4E166A
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 #ac4dda

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#7BDA4D
Analogous left#654DDA
Analogous right#DA4DC2
Split-complement 1#C2DA4D
Split-complement 2#4DDA65
Triadic 1#DAAC4D
Triadic 2#4DDAAC
Tetradic#DA654D

RGB percentages

Red67.5%
Green30.2%
Blue85.5%

CMYK percentages

Cyan21.1%
Magenta64.7%
Yellow0.0%
Key (black)14.5%

Color previews

#ac4dda text on a black background

contrast 4.83:1

Card sample

#ac4dda text on a white background

contrast 4.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac4dda

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.

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

#ac4dda, answered

What color is #ac4dda?

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

What is the RGB value of #ac4dda?

rgb(172, 77, 218) — 172 red, 77 green and 218 blue out of 255, or 67.5% / 30.2% / 85.5% by channel.

Is #ac4dda a light or a dark color?

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

Should I use black or white text on #ac4dda?

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

What is the complementary color of #ac4dda?

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

What colors go well with #ac4dda?

For interface work: #F8F4FA as the surface, #DEC0ED for borders, #814B9B for secondary text, #71AD1F as an accent and #4E166A for hover and pressed states. For a palette, the analogous pair #654DDA and #DA4DC2 stays calm, while #7BDA4D is the loudest partner.

What is #ac4dda in CMYK for printing?

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

Is #ac4dda 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 #DA4DD4; nudged cooler, #774BDC.

Work with #ac4dda in the Color Lab