Skip to content

#a864af

a balanced, soft magenta / pink · neutral · closest name: Medium Orchid

RGB
168, 100, 175
HSL
294°, 32%, 54%
CMYK
4, 43, 0, 31
Luminance
0.2053

At a glance

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

Hex
#a864af
Hue
294°
magenta / pink
Saturation
32%
soft
Lightness
54%
balanced
Brightness
69%
HSV value
Perceived
52%
weighted brightness
Luminance
0.2053
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
5.11:1
Closest name
Medium Orchid
ΔE2000 7.3
Where it sits
Hue294° of 360°
Saturation32%
Lightness54%
Temperature
Warm ← → Cool53% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#a864af
RGBrgb(168, 100, 175)
HSLhsl(294, 32%, 54%)
CMYKcmyk(4%, 43%, 0%, 31%)
LABlab(52.4 39.5 -28.8)
LCHlch(52.4 48.8 323.9)
OKLCHoklch(0.606 0.133 323.6)
Decimal11035823
Display P3color(display-p3 0.659 0.392 0.686)

Copy-ready code

/* CSS */
color: #a864af;
background-color: #a864af;
/* Tailwind (arbitrary) */
class="text-[#a864af] bg-[#a864af]"
/* SCSS */
$brand: #a864af;
/* SwiftUI */
Color(red: 0.659, green: 0.392, blue: 0.686)
/* Android */
Color.parseColor("#a864af")
/* Flutter */
Color(0xFFA864AF)
/* Python / OpenCV (BGR) */
(175, 100, 168)

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 #a864af · 5.11:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.11:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.11:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #a864af as text scores 4.11:1 on white and 5.11:1 on black.

Accessibility — WCAG contrast

Aa
#a864af on white: 4.11:1
AA ✗ fail · AA-large · AAA
Aa
#a864af on black: 5.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5C78B2
deuteranopia · #6E80AD
tritanopia · #AB6C81

Color scale — 50 to 950

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

#F9F5F9
#F3ECF4
#E5D5E7
#D5B5D9
#C190C6
#a864af
#9A53A1
#804587
#67386C
#4C2B4F
#2F1B31
Base = 500Lightest = 50 · #F9F5F9Darkest = 950 · #2F1B31
:root {
  --brand-50: #F9F5F9;
  --brand-100: #F3ECF4;
  --brand-200: #E5D5E7;
  --brand-300: #D5B5D9;
  --brand-400: #C190C6;
  --brand-500: #a864af;
  --brand-600: #9A53A1;
  --brand-700: #804587;
  --brand-800: #67386C;
  --brand-900: #4C2B4F;
  --brand-950: #2F1B31;
  --brand: #a864af;
  --brand-ink: #000000;
}

Colors that work with #a864af

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#F9F5FA
Tinted page background
Border#E1C9E3
Hairlines and dividers
Muted text#914E97
Captions on the surface
Accent#5A8B41
Second voice, not a rival
Dark variant#502B54
Hover, pressed, headers
Light variant#F6EEF6
Selected rows, tints
Dark surface#231424
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 #a864af

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
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#6BAF64
Analogous left#8264AF
Analogous right#AF6490
Split-complement 1#90AF64
Split-complement 2#64AF82
Triadic 1#AFA864
Triadic 2#64AFA8
Tetradic#AF8264

RGB percentages

Red65.9%
Green39.2%
Blue68.6%

CMYK percentages

Cyan4.0%
Magenta42.9%
Yellow0.0%
Key (black)31.4%

Color previews

#a864af text on a black background

contrast 5.11:1

Card sample

#a864af text on a white background

contrast 4.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(168, 100, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(168, 100, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a864af;
background: linear-gradient(135deg, #a864af, #AF6484);

Monochromatic scale

Palettes built from #a864af

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.

#a864af in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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

#a864af, answered

What color is #a864af?

#a864af is a balanced soft magenta / pink, closest to Medium Orchid (ΔE2000 7.3). It sits at 294° on the hue wheel with 32% saturation and 54% lightness, which reads as neutral.

What is the RGB value of #a864af?

rgb(168, 100, 175) — 168 red, 100 green and 175 blue out of 255, or 65.9% / 39.2% / 68.6% by channel.

Is #a864af a light or a dark color?

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

Should I use black or white text on #a864af?

Black. It scores 5.11:1 against #a864af, versus 4.11:1 for white — AA at any size.

What is the complementary color of #a864af?

#6BAF64 sits directly opposite on the wheel. Softer options are the split-complements #90AF64 and #64AF82, which give the same contrast with far less vibration.

What colors go well with #a864af?

For interface work: #F9F5FA as the surface, #E1C9E3 for borders, #914E97 for secondary text, #5A8B41 as an accent and #502B54 for hover and pressed states. For a palette, the analogous pair #8264AF and #AF6490 stays calm, while #6BAF64 is the loudest partner.

What is #a864af in CMYK for printing?

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

Is #a864af warm or cool?

Neutral — it scores 53 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AF649A; nudged cooler, #8D62B1.

Work with #a864af in the Color Lab