Skip to content

#aa6ddf

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

RGB
170, 109, 223
HSL
272°, 64%, 65%
CMYK
24, 51, 0, 13
Luminance
0.2481

At a glance

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

Hex
#aa6ddf
Hue
272°
violet
Saturation
64%
vivid
Lightness
65%
light
Brightness
87%
HSV value
Perceived
57%
weighted brightness
Luminance
0.2481
WCAG relative
Temperature
Cool
65/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
5.96:1
Closest name
Medium Purple
ΔE2000 4.7
Where it sits
Hue272° of 360°
Saturation64%
Lightness65%
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#aa6ddf
RGBrgb(170, 109, 223)
HSLhsl(272, 64%, 65%)
CMYKcmyk(24%, 51%, 0%, 13%)
LABlab(56.9 45.4 -49.1)
LCHlch(56.9 66.9 312.7)
OKLCHoklch(0.647 0.172 306.9)
Decimal11169247
Display P3color(display-p3 0.667 0.427 0.875)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa6ddf on white: 3.52:1
AA ✗ fail · AA-large · AAA
Aa
#aa6ddf on black: 5.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4B86E3
deuteranopia · #5E89DC
tritanopia · #A2819C

Color scale — 50 to 950

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

#F8F4FB
#F0E8F7
#DFCBF1
#C9A3EB
#aa6ddf
#9447D7
#802CC9
#6B25A7
#551D86
#401961
#28103D
Base = 400Lightest = 50 · #F8F4FBDarkest = 950 · #28103D
:root {
  --brand-50: #F8F4FB;
  --brand-100: #F0E8F7;
  --brand-200: #DFCBF1;
  --brand-300: #C9A3EB;
  --brand-400: #aa6ddf;
  --brand-500: #9447D7;
  --brand-600: #802CC9;
  --brand-700: #6B25A7;
  --brand-800: #551D86;
  --brand-900: #401961;
  --brand-950: #28103D;
  --brand: #aa6ddf;
  --brand-ink: #000000;
}

Colors that work with #aa6ddf

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#D8C0ED
Hairlines and dividers
Muted text#764B9B
Captions on the surface
Accent#84AC20
Second voice, not a rival
Dark variant#431769
Hover, pressed, headers
Light variant#F3EAFA
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 #aa6ddf

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#A2DF6D
Analogous left#716DDF
Analogous right#DF6DDB
Split-complement 1#DBDF6D
Split-complement 2#6DDF71
Triadic 1#DFAA6D
Triadic 2#6DDFAA
Tetradic#DF716D

RGB percentages

Red66.7%
Green42.7%
Blue87.5%

CMYK percentages

Cyan23.8%
Magenta51.1%
Yellow0.0%
Key (black)12.5%

Color previews

#aa6ddf text on a black background

contrast 5.96:1

Card sample

#aa6ddf text on a white background

contrast 3.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa6ddf

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.

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

#aa6ddf, answered

What color is #aa6ddf?

#aa6ddf is a light vivid violet, closest to Medium Purple (ΔE2000 4.7). It sits at 272° on the hue wheel with 64% saturation and 65% lightness, which reads as cool.

What is the RGB value of #aa6ddf?

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

Is #aa6ddf a light or a dark color?

It is a mid-tone. Relative luminance is 0.2481 and perceived brightness is 57%, so black text on it reaches 5.96:1.

Should I use black or white text on #aa6ddf?

Black. It scores 5.96:1 against #aa6ddf, versus 3.52:1 for white — AA at any size.

What is the complementary color of #aa6ddf?

#A2DF6D sits directly opposite on the wheel. Softer options are the split-complements #DBDF6D and #6DDF71, which give the same contrast with far less vibration.

What colors go well with #aa6ddf?

For interface work: #F8F4FA as the surface, #D8C0ED for borders, #764B9B for secondary text, #84AC20 as an accent and #431769 for hover and pressed states. For a palette, the analogous pair #716DDF and #DF6DDB stays calm, while #A2DF6D is the loudest partner.

What is #aa6ddf in CMYK for printing?

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

Is #aa6ddf 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 #D46DDF; nudged cooler, #7F6BE1.

Work with #aa6ddf in the Color Lab