#AA45B5#AA45B5

#AA45B5 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.9% C 0.190 H 323.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AA45B5
RGBrgb(170, 69, 181)
HSLhsl(294, 45%, 49%)
HSVhsv(294, 62%, 71%)
CMYKcmyk(6.1%, 61.9%, 0%, 29%)
CIE-LABlab(47.16, 56.64, -40.52)
CIE-LCHlch(47.16, 69.64, 324.42°)
OKLaboklab(56.86% 0.1529 -0.1125)
OKLCHoklch(56.86% 0.19 323.7)
XYZxyz(27.0454, 16.1400, 45.3979)
Luminance0.1614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45B5 #50B545
analogous
#7245B5 #AA45B5 #B54588
triadic
#AA45B5 #B5AA45 #45B5AA
tetradic
#AA45B5 #B57245 #50B545 #4588B5
square
#AA45B5 #B57245 #50B545 #4588B5
split-complementary
#AA45B5 #88B545 #45B572
monochromatic
#57235C #803489 #AA45B5 #BF6FC8 #D39BD9

Accessibility & contrast

On white

4.97
#AA45B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#AA45B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA45B5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45B5#FFFFFF#000000##FFFFFF
##AA45B51.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3068B8
Deuteranopia (green-blind)
#5674B2
Tritanopia (blue-blind)
#AD5677
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #aa45b5;
/* rgb */ color: rgb(170, 69, 181);
/* oklch */ color: oklch(56.9% 0.190 323.7);
Tailwind
colors: {
  custom: {
    50: '#c67fcb',
    500: '#aa45b5',
    950: '#000000',
  },
}
SCSS
$custom: #aa45b5;
$custom-light: #c67fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45b5",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 181
  },
  "hsl": {
    "h": 294.107,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56864,
    "c": 0.18982,
    "h": 323.7
  },
  "luminance": 0.16138
}

Semantic roles & 50–950 ramp

primary
#AA45B5
secondary
#96C591
accent
#D55360
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA45B5

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

Preview Lab → · Contrast checker → · Palette generator →

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