#AA45B2#AA45B2

#AA45B2 is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.7% C 0.187 H 324.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AA45B2
RGBrgb(170, 69, 178)
HSLhsl(296, 44%, 48%)
HSVhsv(296, 61%, 70%)
CMYKcmyk(4.5%, 61.2%, 0%, 30.2%)
CIE-LABlab(47.00, 56.08, -39.01)
CIE-LCHlch(47.00, 68.32, 325.18°)
OKLaboklab(56.7% 0.1527 -0.1081)
OKLCHoklch(56.7% 0.187 324.7)
XYZxyz(26.7409, 16.0182, 43.7942)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45B2 #4DB245
analogous
#7345B2 #AA45B2 #B24583
triadic
#AA45B2 #B2AA45 #45B2AA
tetradic
#AA45B2 #B27345 #4DB245 #4583B2
square
#AA45B2 #B27345 #4DB245 #4583B2
split-complementary
#AA45B2 #83B245 #45B273
monochromatic
#56235A #803486 #AA45B2 #C06EC7 #D39AD8

Accessibility & contrast

On white

5.00
#AA45B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AA45B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA45B2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45B2#FFFFFF#000000##FFFFFF
##AA45B21.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3367B5
Deuteranopia (green-blind)
#5874AF
Tritanopia (blue-blind)
#AD5475
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #aa45b2;
/* rgb */ color: rgb(170, 69, 178);
/* oklch */ color: oklch(56.7% 0.187 324.7);
Tailwind
colors: {
  custom: {
    50: '#c67fc9',
    500: '#aa45b2',
    950: '#000000',
  },
}
SCSS
$custom: #aa45b2;
$custom-light: #c67fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45b2",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 295.596,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56696,
    "c": 0.18713,
    "h": 324.7
  },
  "luminance": 0.16017
}

Semantic roles & 50–950 ramp

primary
#AA45B2
secondary
#93C48F
accent
#D4545D
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA45B2

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

Preview Lab → · Contrast checker → · Palette generator →

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