Skip to content

#aa2cdb

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

RGB
170, 44, 219
HSL
283°, 71%, 52%
CMYK
22, 80, 0, 14
Luminance
0.1546

At a glance

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

Hex
#aa2cdb
Hue
283°
violet
Saturation
71%
vivid
Lightness
52%
balanced
Brightness
86%
HSV value
Perceived
48%
weighted brightness
Luminance
0.1546
WCAG relative
Temperature
Cool
59/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
5.13:1
Closest name
Dark Orchid
ΔE2000 3.3
Where it sits
Hue283° of 360°
Saturation71%
Lightness52%
Temperature
Warm ← → Cool59% 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#aa2cdb
RGBrgb(170, 44, 219)
HSLhsl(283, 71%, 52%)
CMYKcmyk(22%, 80%, 0%, 14%)
LABlab(46.3 73.0 -63.9)
LCHlch(46.3 97.1 318.8)
OKLCHoklch(0.570 0.251 313.9)
Decimal11152603
Display P3color(display-p3 0.667 0.173 0.859)

Copy-ready code

/* CSS */
color: #aa2cdb;
background-color: #aa2cdb;
/* Tailwind (arbitrary) */
class="text-[#aa2cdb] bg-[#aa2cdb]"
/* SCSS */
$brand: #aa2cdb;
/* SwiftUI */
Color(red: 0.667, green: 0.173, blue: 0.859)
/* Android */
Color.parseColor("#aa2cdb")
/* Flutter */
Color(0xFFAA2CDB)
/* Python / OpenCV (BGR) */
(219, 44, 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#ffffff on #aa2cdb · 5.13:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.13:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.09:1
AA fail · AA large pass · AAA fail
Reading the other direction: #aa2cdb as text scores 5.13:1 on white and 4.09:1 on black.

Accessibility — WCAG contrast

Aa
#aa2cdb on white: 5.13:1
AA ✓ pass · AA-large · AAA
Aa
#aa2cdb on black: 4.09:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0067E0
deuteranopia · #1670D7
tritanopia · #A55885

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #aa2cdb is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F9F3FC
#F3E7F8
#E7C9F3
#D89FEF
#C56FE7
#B23FDE
#aa2cdb
#861EAE
#6B188B
#4F1565
#310D3F
Base = 600Lightest = 50 · #F9F3FCDarkest = 950 · #310D3F
:root {
  --brand-50: #F9F3FC;
  --brand-100: #F3E7F8;
  --brand-200: #E7C9F3;
  --brand-300: #D89FEF;
  --brand-400: #C56FE7;
  --brand-500: #B23FDE;
  --brand-600: #aa2cdb;
  --brand-700: #861EAE;
  --brand-800: #6B188B;
  --brand-900: #4F1565;
  --brand-950: #310D3F;
  --brand: #aa2cdb;
  --brand-ink: #ffffff;
}

Colors that work with #aa2cdb

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F9F4FA
Tinted page background
Border#E0C0ED
Hairlines and dividers
Muted text#844B9B
Captions on the surface
Accent#6BB21A
Second voice, not a rival
Dark variant#54136D
Hover, pressed, headers
Light variant#F6E9FB
Selected rows, tints
Dark surface#201424
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 #aa2cdb

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • 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#5DDB2C
Analogous left#532CDB
Analogous right#DB2CB5
Split-complement 1#B5DB2C
Split-complement 2#2CDB53
Triadic 1#DBAA2C
Triadic 2#2CDBAA
Tetradic#DB532C

RGB percentages

Red66.7%
Green17.3%
Blue85.9%

CMYK percentages

Cyan22.4%
Magenta79.9%
Yellow0.0%
Key (black)14.1%

Color previews

#aa2cdb text on a black background

contrast 4.09:1

Card sample

#aa2cdb text on a white background

contrast 5.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa2cdb

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.

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

#aa2cdb, answered

What color is #aa2cdb?

#aa2cdb is a balanced vivid violet, closest to Dark Orchid (ΔE2000 3.3). It sits at 283° on the hue wheel with 71% saturation and 52% lightness, which reads as cool.

What is the RGB value of #aa2cdb?

rgb(170, 44, 219) — 170 red, 44 green and 219 blue out of 255, or 66.7% / 17.3% / 85.9% by channel.

Is #aa2cdb a light or a dark color?

It is a dark color. Relative luminance is 0.1546 and perceived brightness is 48%, so white text on it reaches 5.13:1.

Should I use black or white text on #aa2cdb?

White. It scores 5.13:1 against #aa2cdb, versus 4.09:1 for black — AA at any size.

What is the complementary color of #aa2cdb?

#5DDB2C sits directly opposite on the wheel. Softer options are the split-complements #B5DB2C and #2CDB53, which give the same contrast with far less vibration.

What colors go well with #aa2cdb?

For interface work: #F9F4FA as the surface, #E0C0ED for borders, #844B9B for secondary text, #6BB21A as an accent and #54136D for hover and pressed states. For a palette, the analogous pair #532CDB and #DB2CB5 stays calm, while #5DDB2C is the loudest partner.

What is #aa2cdb in CMYK for printing?

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

Is #aa2cdb warm or cool?

Cool — it scores 59 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DB2CCC; nudged cooler, #692ADE.

Work with #aa2cdb in the Color Lab