#AA45B4#AA45B4

#AA45B4 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.8% C 0.189 H 324.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AA45B4
RGBrgb(170, 69, 180)
HSLhsl(295, 45%, 49%)
HSVhsv(295, 62%, 71%)
CMYKcmyk(5.6%, 61.7%, 0%, 29.4%)
CIE-LABlab(47.10, 56.45, -40.02)
CIE-LCHlch(47.10, 69.20, 324.67°)
OKLaboklab(56.81% 0.1528 -0.111)
OKLCHoklch(56.81% 0.189 324)
XYZxyz(26.9432, 16.0991, 44.8594)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45B4 #4FB445
analogous
#7345B4 #AA45B4 #B44587
triadic
#AA45B4 #B4AA45 #45B4AA
tetradic
#AA45B4 #B47345 #4FB445 #4587B4
square
#AA45B4 #B47345 #4FB445 #4587B4
split-complementary
#AA45B4 #87B445 #45B473
monochromatic
#56235C #803488 #AA45B4 #C06FC8 #D39BD9

Accessibility & contrast

On white

4.98
#AA45B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AA45B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA45B4
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45B4#FFFFFF#000000##FFFFFF
##AA45B41.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3168B7
Deuteranopia (green-blind)
#5774B1
Tritanopia (blue-blind)
#AD5576
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #aa45b4;
/* rgb */ color: rgb(170, 69, 180);
/* oklch */ color: oklch(56.8% 0.189 324.0);
Tailwind
colors: {
  custom: {
    50: '#c67fcb',
    500: '#aa45b4',
    950: '#000000',
  },
}
SCSS
$custom: #aa45b4;
$custom-light: #c67fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45b4",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 180
  },
  "hsl": {
    "h": 294.595,
    "s": 44.578,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56808,
    "c": 0.18892,
    "h": 324
  },
  "luminance": 0.16098
}

Semantic roles & 50–950 ramp

primary
#AA45B4
secondary
#95C590
accent
#D4545F
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA45B4

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

Preview Lab → · Contrast checker → · Palette generator →

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