Skip to content

#aa91df

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

RGB
170, 145, 223
HSL
259°, 55%, 72%
CMYK
24, 35, 0, 13
Luminance
0.3412

At a glance

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

Hex
#aa91df
Hue
259°
violet
Saturation
55%
vivid
Lightness
72%
light
Brightness
87%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3412
WCAG relative
Temperature
Cool
73/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
7.82:1
Closest name
Medium Purple
ΔE2000 10.3
Where it sits
Hue259° of 360°
Saturation55%
Lightness72%
Temperature
Warm ← → Cool73% 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#aa91df
RGBrgb(170, 145, 223)
HSLhsl(259, 55%, 72%)
CMYKcmyk(24%, 35%, 0%, 13%)
LABlab(65.1 25.4 -36.3)
LCHlch(65.1 44.3 304.9)
OKLCHoklch(0.709 0.114 298.2)
Decimal11178463
Display P3color(display-p3 0.667 0.569 0.875)

Copy-ready code

/* CSS */
color: #aa91df;
background-color: #aa91df;
/* Tailwind (arbitrary) */
class="text-[#aa91df] bg-[#aa91df]"
/* SCSS */
$brand: #aa91df;
/* SwiftUI */
Color(red: 0.667, green: 0.569, blue: 0.875)
/* Android */
Color.parseColor("#aa91df")
/* Flutter */
Color(0xFFAA91DF)
/* Python / OpenCV (BGR) */
(223, 145, 170)

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

Accessibility — WCAG contrast

Aa
#aa91df on white: 2.68:1
AA ✗ fail · AA-large · AAA
Aa
#aa91df on black: 7.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7E9EE2
deuteranopia · #829DDD
tritanopia · #A09EAE

Color scale — 50 to 950

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

#F6F4FB
#EDE9F6
#D8CEEE
#BCA8E6
#aa91df
#7951CC
#6237BE
#522E9E
#41257E
#321E5C
#1F133A
Base = 400Lightest = 50 · #F6F4FBDarkest = 950 · #1F133A
:root {
  --brand-50: #F6F4FB;
  --brand-100: #EDE9F6;
  --brand-200: #D8CEEE;
  --brand-300: #BCA8E6;
  --brand-400: #aa91df;
  --brand-500: #7951CC;
  --brand-600: #6237BE;
  --brand-700: #522E9E;
  --brand-800: #41257E;
  --brand-900: #321E5C;
  --brand-950: #1F133A;
  --brand: #aa91df;
  --brand-ink: #000000;
}

Colors that work with #aa91df

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#F6F4FA
Tinted page background
Border#CEC0ED
Hairlines and dividers
Muted text#644B9B
Captions on the surface
Accent#9AA22A
Second voice, not a rival
Dark variant#331D63
Hover, pressed, headers
Light variant#F0EBF9
Selected rows, tints
Dark surface#191424
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 #aa91df

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#C6DF91
Analogous left#919FDF
Analogous right#D191DF
Split-complement 1#DFD191
Split-complement 2#9FDF91
Triadic 1#DFAA91
Triadic 2#91DFAA
Tetradic#DF919F

RGB percentages

Red66.7%
Green56.9%
Blue87.5%

CMYK percentages

Cyan23.8%
Magenta35.0%
Yellow0.0%
Key (black)12.5%

Color previews

#aa91df text on a black background

contrast 7.82:1

Card sample

#aa91df text on a white background

contrast 2.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa91df

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.

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

#aa91df, answered

What color is #aa91df?

#aa91df is a light vivid violet, closest to Medium Purple (ΔE2000 10.3). It sits at 259° on the hue wheel with 55% saturation and 72% lightness, which reads as cool.

What is the RGB value of #aa91df?

rgb(170, 145, 223) — 170 red, 145 green and 223 blue out of 255, or 66.7% / 56.9% / 87.5% by channel.

Is #aa91df a light or a dark color?

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

Should I use black or white text on #aa91df?

Black. It scores 7.82:1 against #aa91df, versus 2.68:1 for white — AAA at any size.

What is the complementary color of #aa91df?

#C6DF91 sits directly opposite on the wheel. Softer options are the split-complements #DFD191 and #9FDF91, which give the same contrast with far less vibration.

What colors go well with #aa91df?

For interface work: #F6F4FA as the surface, #CEC0ED for borders, #644B9B for secondary text, #9AA22A as an accent and #331D63 for hover and pressed states. For a palette, the analogous pair #919FDF and #D191DF stays calm, while #C6DF91 is the loudest partner.

What is #aa91df in CMYK for printing?

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

Is #aa91df warm or cool?

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

Work with #aa91df in the Color Lab