Skip to content

#ac85df

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

RGB
172, 133, 223
HSL
266°, 58%, 70%
CMYK
23, 40, 0, 13
Luminance
0.3087

At a glance

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

Hex
#ac85df
Hue
266°
violet
Saturation
58%
vivid
Lightness
70%
light
Brightness
87%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3087
WCAG relative
Temperature
Cool
69/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
7.17:1
Closest name
Medium Purple
ΔE2000 7.6
Where it sits
Hue266° of 360°
Saturation58%
Lightness70%
Temperature
Warm ← → Cool69% 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#ac85df
RGBrgb(172, 133, 223)
HSLhsl(266, 58%, 70%)
CMYKcmyk(23%, 40%, 0%, 13%)
LABlab(62.4 32.7 -40.4)
LCHlch(62.4 52.0 309.0)
OKLCHoklch(0.689 0.134 303.0)
Decimal11306463
Display P3color(display-p3 0.675 0.522 0.875)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac85df on white: 2.93:1
AA ✗ fail · AA-large · AAA
Aa
#ac85df on black: 7.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6F96E2
deuteranopia · #7797DD
tritanopia · #A394A7

Color scale — 50 to 950

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

#F7F4FB
#EFE9F7
#DCCDEF
#C3A6E8
#ac85df
#864DD0
#7133C2
#5E2AA2
#4B2281
#391C5E
#24123B
Base = 400Lightest = 50 · #F7F4FBDarkest = 950 · #24123B
:root {
  --brand-50: #F7F4FB;
  --brand-100: #EFE9F7;
  --brand-200: #DCCDEF;
  --brand-300: #C3A6E8;
  --brand-400: #ac85df;
  --brand-500: #864DD0;
  --brand-600: #7133C2;
  --brand-700: #5E2AA2;
  --brand-800: #4B2281;
  --brand-900: #391C5E;
  --brand-950: #24123B;
  --brand: #ac85df;
  --brand-ink: #000000;
}

Colors that work with #ac85df

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#D3C0ED
Hairlines and dividers
Muted text#6D4B9B
Captions on the surface
Accent#8EA626
Second voice, not a rival
Dark variant#3B1B65
Hover, pressed, headers
Light variant#F1EBFA
Selected rows, tints
Dark surface#1B1424
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 #ac85df

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#B8DF85
Analogous left#858BDF
Analogous right#D985DF
Split-complement 1#DFD985
Split-complement 2#8BDF85
Triadic 1#DFAC85
Triadic 2#85DFAC
Tetradic#DF858B

RGB percentages

Red67.5%
Green52.2%
Blue87.5%

CMYK percentages

Cyan22.9%
Magenta40.4%
Yellow0.0%
Key (black)12.5%

Color previews

#ac85df text on a black background

contrast 7.17:1

Card sample

#ac85df text on a white background

contrast 2.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac85df

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.

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

#ac85df, answered

What color is #ac85df?

#ac85df is a light vivid violet, closest to Medium Purple (ΔE2000 7.6). It sits at 266° on the hue wheel with 58% saturation and 70% lightness, which reads as cool.

What is the RGB value of #ac85df?

rgb(172, 133, 223) — 172 red, 133 green and 223 blue out of 255, or 67.5% / 52.2% / 87.5% by channel.

Is #ac85df a light or a dark color?

It is a mid-tone. Relative luminance is 0.3087 and perceived brightness is 62%, so black text on it reaches 7.17:1.

Should I use black or white text on #ac85df?

Black. It scores 7.17:1 against #ac85df, versus 2.93:1 for white — AAA at any size.

What is the complementary color of #ac85df?

#B8DF85 sits directly opposite on the wheel. Softer options are the split-complements #DFD985 and #8BDF85, which give the same contrast with far less vibration.

What colors go well with #ac85df?

For interface work: #F7F4FA as the surface, #D3C0ED for borders, #6D4B9B for secondary text, #8EA626 as an accent and #3B1B65 for hover and pressed states. For a palette, the analogous pair #858BDF and #D985DF stays calm, while #B8DF85 is the loudest partner.

What is #ac85df in CMYK for printing?

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

Is #ac85df warm or cool?

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

Work with #ac85df in the Color Lab