Skip to content

#aa82df

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

RGB
170, 130, 223
HSL
266°, 59%, 69%
CMYK
24, 42, 0, 13
Luminance
0.2984

At a glance

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

Hex
#aa82df
Hue
266°
violet
Saturation
59%
vivid
Lightness
69%
light
Brightness
87%
HSV value
Perceived
61%
weighted brightness
Luminance
0.2984
WCAG relative
Temperature
Cool
69/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
6.97:1
Closest name
Medium Purple
ΔE2000 6.7
Where it sits
Hue266° of 360°
Saturation59%
Lightness69%
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#aa82df
RGBrgb(170, 130, 223)
HSLhsl(266, 59%, 69%)
CMYKcmyk(24%, 42%, 0%, 13%)
LABlab(61.5 33.8 -41.9)
LCHlch(61.5 53.8 309.0)
OKLCHoklch(0.682 0.139 302.7)
Decimal11174623
Display P3color(display-p3 0.667 0.510 0.875)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa82df on white: 3.01:1
AA ✗ fail · AA-large · AAA
Aa
#aa82df on black: 6.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6A94E2
deuteranopia · #7394DD
tritanopia · #A191A6

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #aa82df 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
#DBCDEF
#C2A6E8
#aa82df
#864CD1
#7032C3
#5E2AA2
#4B2182
#391C5F
#23113B
Base = 400Lightest = 50 · #F7F4FBDarkest = 950 · #23113B
:root {
  --brand-50: #F7F4FB;
  --brand-100: #EFE9F7;
  --brand-200: #DBCDEF;
  --brand-300: #C2A6E8;
  --brand-400: #aa82df;
  --brand-500: #864CD1;
  --brand-600: #7032C3;
  --brand-700: #5E2AA2;
  --brand-800: #4B2182;
  --brand-900: #391C5F;
  --brand-950: #23113B;
  --brand: #aa82df;
  --brand-ink: #000000;
}

Colors that work with #aa82df

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#8FA626
Second voice, not a rival
Dark variant#3A1A65
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 #aa82df

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
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#B7DF82
Analogous left#8288DF
Analogous right#D882DF
Split-complement 1#DFD882
Split-complement 2#88DF82
Triadic 1#DFAA82
Triadic 2#82DFAA
Tetradic#DF8288

RGB percentages

Red66.7%
Green51.0%
Blue87.5%

CMYK percentages

Cyan23.8%
Magenta41.7%
Yellow0.0%
Key (black)12.5%

Color previews

#aa82df text on a black background

contrast 6.97:1

Card sample

#aa82df text on a white background

contrast 3.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa82df

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.

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

#aa82df, answered

What color is #aa82df?

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

What is the RGB value of #aa82df?

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

Is #aa82df a light or a dark color?

It is a mid-tone. Relative luminance is 0.2984 and perceived brightness is 61%, so black text on it reaches 6.97:1.

Should I use black or white text on #aa82df?

Black. It scores 6.97:1 against #aa82df, versus 3.01:1 for white — AA at any size.

What is the complementary color of #aa82df?

#B7DF82 sits directly opposite on the wheel. Softer options are the split-complements #DFD882 and #88DF82, which give the same contrast with far less vibration.

What colors go well with #aa82df?

For interface work: #F7F4FA as the surface, #D3C0ED for borders, #6D4B9B for secondary text, #8FA626 as an accent and #3A1A65 for hover and pressed states. For a palette, the analogous pair #8288DF and #D882DF stays calm, while #B7DF82 is the loudest partner.

What is #aa82df in CMYK for printing?

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

Is #aa82df 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 #CC82DF; nudged cooler, #8680E1.

Work with #aa82df in the Color Lab