Skip to content

#a45ade

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

RGB
164, 90, 222
HSL
274°, 67%, 61%
CMYK
26, 60, 0, 13
Luminance
0.2048

At a glance

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

Hex
#a45ade
Hue
274°
violet
Saturation
67%
vivid
Lightness
61%
balanced
Brightness
87%
HSV value
Perceived
53%
weighted brightness
Luminance
0.2048
WCAG relative
Temperature
Cool
65/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
5.10:1
Closest name
Medium Orchid
ΔE2000 5
Where it sits
Hue274° of 360°
Saturation67%
Lightness61%
Temperature
Warm ← → Cool65% 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#a45ade
RGBrgb(164, 90, 222)
HSLhsl(274, 67%, 61%)
CMYKcmyk(26%, 60%, 0%, 13%)
LABlab(52.4 53.6 -55.8)
LCHlch(52.4 77.4 313.9)
OKLCHoklch(0.612 0.198 307.4)
Decimal10771166
Display P3color(display-p3 0.643 0.353 0.871)

Copy-ready code

/* CSS */
color: #a45ade;
background-color: #a45ade;
/* Tailwind (arbitrary) */
class="text-[#a45ade] bg-[#a45ade]"
/* SCSS */
$brand: #a45ade;
/* SwiftUI */
Color(red: 0.643, green: 0.353, blue: 0.871)
/* Android */
Color.parseColor("#a45ade")
/* Flutter */
Color(0xFFA45ADE)
/* Python / OpenCV (BGR) */
(222, 90, 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 #a45ade · 5.10:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.12:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.10:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #a45ade as text scores 4.12:1 on white and 5.10:1 on black.

Accessibility — WCAG contrast

Aa
#a45ade on white: 4.12:1
AA ✗ fail · AA-large · AAA
Aa
#a45ade on black: 5.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #207AE2
deuteranopia · #447EDB
tritanopia · #9B7494

Color scale — 50 to 950

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

#F8F3FB
#F1E8F8
#E0CAF1
#CBA1EC
#B273E3
#a45ade
#8429CC
#6E22AA
#581B88
#421863
#290F3E
Base = 500Lightest = 50 · #F8F3FBDarkest = 950 · #290F3E
:root {
  --brand-50: #F8F3FB;
  --brand-100: #F1E8F8;
  --brand-200: #E0CAF1;
  --brand-300: #CBA1EC;
  --brand-400: #B273E3;
  --brand-500: #a45ade;
  --brand-600: #8429CC;
  --brand-700: #6E22AA;
  --brand-800: #581B88;
  --brand-900: #421863;
  --brand-950: #290F3E;
  --brand: #a45ade;
  --brand-ink: #000000;
}

Colors that work with #a45ade

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#D9C0ED
Hairlines and dividers
Muted text#784B9B
Captions on the surface
Accent#82AE1E
Second voice, not a rival
Dark variant#45156A
Hover, pressed, headers
Light variant#F3EAFB
Selected rows, tints
Dark surface#1D1424
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 #a45ade

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#94DE5A
Analogous left#625ADE
Analogous right#DE5AD6
Split-complement 1#D6DE5A
Split-complement 2#5ADE62
Triadic 1#DEA45A
Triadic 2#5ADEA4
Tetradic#DE625A

RGB percentages

Red64.3%
Green35.3%
Blue87.1%

CMYK percentages

Cyan26.1%
Magenta59.5%
Yellow0.0%
Key (black)12.9%

Color previews

#a45ade text on a black background

contrast 5.10:1

Card sample

#a45ade text on a white background

contrast 4.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a45ade

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.

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

#a45ade, answered

What color is #a45ade?

#a45ade is a balanced vivid violet, closest to Medium Orchid (ΔE2000 5). It sits at 274° on the hue wheel with 67% saturation and 61% lightness, which reads as cool.

What is the RGB value of #a45ade?

rgb(164, 90, 222) — 164 red, 90 green and 222 blue out of 255, or 64.3% / 35.3% / 87.1% by channel.

Is #a45ade a light or a dark color?

It is a mid-tone. Relative luminance is 0.2048 and perceived brightness is 53%, so black text on it reaches 5.10:1.

Should I use black or white text on #a45ade?

Black. It scores 5.10:1 against #a45ade, versus 4.12:1 for white — AA at any size.

What is the complementary color of #a45ade?

#94DE5A sits directly opposite on the wheel. Softer options are the split-complements #D6DE5A and #5ADE62, which give the same contrast with far less vibration.

What colors go well with #a45ade?

For interface work: #F8F4FA as the surface, #D9C0ED for borders, #784B9B for secondary text, #82AE1E as an accent and #45156A for hover and pressed states. For a palette, the analogous pair #625ADE and #DE5AD6 stays calm, while #94DE5A is the loudest partner.

What is #a45ade in CMYK for printing?

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

Is #a45ade warm or cool?

Cool — it scores 65 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D45ADE; nudged cooler, #7258E0.

Work with #a45ade in the Color Lab