#AA45AA#AA45AA

#AA45AA is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.3% C 0.180 H 327.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AA45AA
RGBrgb(170, 69, 170)
HSLhsl(300, 42%, 47%)
HSVhsv(300, 59%, 67%)
CMYKcmyk(0%, 59.4%, 0%, 33.3%)
CIE-LABlab(46.59, 54.64, -34.96)
CIE-LCHlch(46.59, 64.87, 327.39°)
OKLaboklab(56.26% 0.1521 -0.0964)
OKLCHoklch(56.26% 0.18 327.6)
XYZxyz(25.9610, 15.7062, 39.6866)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45AA #45AA45
analogous
#7845AA #AA45AA #AA4578
triadic
#AA45AA #AAAA45 #45AAAA
tetradic
#AA45AA #AA7845 #45AA45 #4578AA
square
#AA45AA #AA7845 #45AA45 #4578AA
split-complementary
#AA45AA #78AA45 #45AA78
monochromatic
#532253 #7E337E #AA45AA #C26AC2 #D495D4

Accessibility & contrast

On white

5.07
#AA45AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#AA45AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA45AA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45AA#FFFFFF#000000##FFFFFF
##AA45AA1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3966AD
Deuteranopia (green-blind)
#5C73A7
Tritanopia (blue-blind)
#AF5171
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #aa45aa;
/* rgb */ color: rgb(170, 69, 170);
/* oklch */ color: oklch(56.3% 0.180 327.6);
Tailwind
colors: {
  custom: {
    50: '#c67fc3',
    500: '#aa45aa',
    950: '#000000',
  },
}
SCSS
$custom: #aa45aa;
$custom-light: #c67fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45aa",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 300,
    "s": 42.259,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56263,
    "c": 0.1801,
    "h": 327.6
  },
  "luminance": 0.15705
}

Semantic roles & 50–950 ramp

primary
#AA45AA
secondary
#8BC08B
accent
#D25656
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A12
muted
#827C81

Preview Lab

Preview with #AA45AA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AA45AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva