Skip to content

#a45eb2

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

RGB
164, 94, 178
HSL
290°, 35%, 53%
CMYK
8, 47, 0, 30
Luminance
0.1911

At a glance

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

Hex
#a45eb2
Hue
290°
magenta / pink
Saturation
35%
soft
Lightness
53%
balanced
Brightness
70%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1911
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
4.82:1
Closest name
Medium Orchid
ΔE2000 6.3
Where it sits
Hue290° of 360°
Saturation35%
Lightness53%
Temperature
Warm ← → Cool56% 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#a45eb2
RGBrgb(164, 94, 178)
HSLhsl(290, 35%, 53%)
CMYKcmyk(8%, 47%, 0%, 30%)
LABlab(50.8 42.1 -33.1)
LCHlch(50.8 53.5 321.8)
OKLCHoklch(0.593 0.144 320.8)
Decimal10772146
Display P3color(display-p3 0.643 0.369 0.698)

Copy-ready code

/* CSS */
color: #a45eb2;
background-color: #a45eb2;
/* Tailwind (arbitrary) */
class="text-[#a45eb2] bg-[#a45eb2]"
/* SCSS */
$brand: #a45eb2;
/* SwiftUI */
Color(red: 0.643, green: 0.369, blue: 0.698)
/* Android */
Color.parseColor("#a45eb2")
/* Flutter */
Color(0xFFA45EB2)
/* Python / OpenCV (BGR) */
(178, 94, 164)

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 #a45eb2 · 4.82: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.82:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #a45eb2 as text scores 4.35:1 on white and 4.82:1 on black.

Accessibility — WCAG contrast

Aa
#a45eb2 on white: 4.35:1
AA ✗ fail · AA-large · AAA
Aa
#a45eb2 on black: 4.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5174B5
deuteranopia · #657CB0
tritanopia · #A56980

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #a45eb2 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
#F3EBF4
#E5D4E8
#D4B3DB
#BF8DC9
#a45eb2
#974FA6
#7E428A
#65356E
#4A2951
#2F1A33
Base = 500Lightest = 50 · #F9F5F9Darkest = 950 · #2F1A33
:root {
  --brand-50: #F9F5F9;
  --brand-100: #F3EBF4;
  --brand-200: #E5D4E8;
  --brand-300: #D4B3DB;
  --brand-400: #BF8DC9;
  --brand-500: #a45eb2;
  --brand-600: #974FA6;
  --brand-700: #7E428A;
  --brand-800: #65356E;
  --brand-900: #4A2951;
  --brand-950: #2F1A33;
  --brand: #a45eb2;
  --brand-ink: #000000;
}

Colors that work with #a45eb2

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#E0C8E5
Hairlines and dividers
Muted text#8E4B9B
Captions on the surface
Accent#5F8E3E
Second voice, not a rival
Dark variant#4F2956
Hover, pressed, headers
Light variant#F5EEF7
Selected rows, tints
Dark surface#221424
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 #a45eb2

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#6CB25E
Analogous left#7A5EB2
Analogous right#B25E96
Split-complement 1#96B25E
Split-complement 2#5EB27A
Triadic 1#B2A45E
Triadic 2#5EB2A4
Tetradic#B27A5E

RGB percentages

Red64.3%
Green36.9%
Blue69.8%

CMYK percentages

Cyan7.9%
Magenta47.2%
Yellow0.0%
Key (black)30.2%

Color previews

#a45eb2 text on a black background

contrast 4.82:1

Card sample

#a45eb2 text on a white background

contrast 4.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(164, 94, 178, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(164, 94, 178, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a45eb2;
background: linear-gradient(135deg, #a45eb2, #B25E88);

Monochromatic scale

Palettes built from #a45eb2

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.

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

#a45eb2, answered

What color is #a45eb2?

#a45eb2 is a balanced soft magenta / pink, closest to Medium Orchid (ΔE2000 6.3). It sits at 290° on the hue wheel with 35% saturation and 53% lightness, which reads as neutral.

What is the RGB value of #a45eb2?

rgb(164, 94, 178) — 164 red, 94 green and 178 blue out of 255, or 64.3% / 36.9% / 69.8% by channel.

Is #a45eb2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.1911 and perceived brightness is 51%, so black text on it reaches 4.82:1.

Should I use black or white text on #a45eb2?

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

What is the complementary color of #a45eb2?

#6CB25E sits directly opposite on the wheel. Softer options are the split-complements #96B25E and #5EB27A, which give the same contrast with far less vibration.

What colors go well with #a45eb2?

For interface work: #F9F5FA as the surface, #E0C8E5 for borders, #8E4B9B for secondary text, #5F8E3E as an accent and #4F2956 for hover and pressed states. For a palette, the analogous pair #7A5EB2 and #B25E96 stays calm, while #6CB25E is the loudest partner.

What is #a45eb2 in CMYK for printing?

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

Is #a45eb2 warm or cool?

Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B25EA1; nudged cooler, #855BB4.

Work with #a45eb2 in the Color Lab