Skip to content

#ac8fdc

a light, vivid violet · cool · closest name: Medium Purple

RGB
172, 143, 220
HSL
263°, 52%, 71%
CMYK
22, 35, 0, 14
Luminance
0.3358

At a glance

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

Hex
#ac8fdc
Hue
263°
violet
Saturation
52%
vivid
Lightness
71%
light
Brightness
86%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3358
WCAG relative
Temperature
Cool
71/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
7.72:1
Closest name
Medium Purple
ΔE2000 10.1
Where it sits
Hue263° of 360°
Saturation52%
Lightness71%
Temperature
Warm ← → Cool71% 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#ac8fdc
RGBrgb(172, 143, 220)
HSLhsl(263, 52%, 71%)
CMYKcmyk(22%, 35%, 0%, 14%)
LABlab(64.6 26.4 -35.3)
LCHlch(64.6 44.0 306.8)
OKLCHoklch(0.706 0.114 300.8)
Decimal11309020
Display P3color(display-p3 0.675 0.561 0.863)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac8fdc on white: 2.72:1
AA ✗ fail · AA-large · AAA
Aa
#ac8fdc on black: 7.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7D9CDF
deuteranopia · #829CDA
tritanopia · #A49BAB

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ac8fdc is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F7F4FA
#EEE9F6
#DACFED
#C0AAE4
#ac8fdc
#8054CA
#6B3ABB
#59319B
#47277C
#36205B
#221439
Base = 400Lightest = 50 · #F7F4FADarkest = 950 · #221439
:root {
  --brand-50: #F7F4FA;
  --brand-100: #EEE9F6;
  --brand-200: #DACFED;
  --brand-300: #C0AAE4;
  --brand-400: #ac8fdc;
  --brand-500: #8054CA;
  --brand-600: #6B3ABB;
  --brand-700: #59319B;
  --brand-800: #47277C;
  --brand-900: #36205B;
  --brand-950: #221439;
  --brand: #ac8fdc;
  --brand-ink: #000000;
}

Colors that work with #ac8fdc

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#F7F4FA
Tinted page background
Border#D1C1EC
Hairlines and dividers
Muted text#694B9B
Captions on the surface
Accent#90A02C
Second voice, not a rival
Dark variant#381E61
Hover, pressed, headers
Light variant#F1ECF9
Selected rows, tints
Dark surface#1A1424
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 #ac8fdc

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • 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#BFDC8F
Analogous left#8F99DC
Analogous right#D38FDC
Split-complement 1#DCD38F
Split-complement 2#99DC8F
Triadic 1#DCAC8F
Triadic 2#8FDCAC
Tetradic#DC8F99

RGB percentages

Red67.5%
Green56.1%
Blue86.3%

CMYK percentages

Cyan21.8%
Magenta35.0%
Yellow0.0%
Key (black)13.7%

Color previews

#ac8fdc text on a black background

contrast 7.72:1

Card sample

#ac8fdc text on a white background

contrast 2.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac8fdc

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.

#ac8fdc 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
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#ac8fdc, answered

What color is #ac8fdc?

#ac8fdc is a light vivid violet, closest to Medium Purple (ΔE2000 10.1). It sits at 263° on the hue wheel with 52% saturation and 71% lightness, which reads as cool.

What is the RGB value of #ac8fdc?

rgb(172, 143, 220) — 172 red, 143 green and 220 blue out of 255, or 67.5% / 56.1% / 86.3% by channel.

Is #ac8fdc a light or a dark color?

It is a mid-tone. Relative luminance is 0.3358 and perceived brightness is 64%, so black text on it reaches 7.72:1.

Should I use black or white text on #ac8fdc?

Black. It scores 7.72:1 against #ac8fdc, versus 2.72:1 for white — AAA at any size.

What is the complementary color of #ac8fdc?

#BFDC8F sits directly opposite on the wheel. Softer options are the split-complements #DCD38F and #99DC8F, which give the same contrast with far less vibration.

What colors go well with #ac8fdc?

For interface work: #F7F4FA as the surface, #D1C1EC for borders, #694B9B for secondary text, #90A02C as an accent and #381E61 for hover and pressed states. For a palette, the analogous pair #8F99DC and #D38FDC stays calm, while #BFDC8F is the loudest partner.

What is #ac8fdc in CMYK for printing?

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

Is #ac8fdc warm or cool?

Cool — it scores 71 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C88FDC; nudged cooler, #8E8EDE.

Work with #ac8fdc in the Color Lab