#AA45BB#AA45BB

#AA45BB is a mid, vivid purple. Relative luminance 0.164; OKLCH L 57.2% C 0.195 H 321.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AA45BB
RGBrgb(170, 69, 187)
HSLhsl(291, 46%, 50%)
HSVhsv(291, 63%, 73%)
CMYKcmyk(9.1%, 63.1%, 0%, 26.7%)
CIE-LABlab(47.48, 57.76, -43.51)
CIE-LCHlch(47.48, 72.31, 323.01°)
OKLaboklab(57.21% 0.1531 -0.1212)
OKLCHoklch(57.21% 0.195 321.6)
XYZxyz(27.6743, 16.3916, 48.7103)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45BB #56BB45
analogous
#6F45BB #AA45BB #BB4591
triadic
#AA45BB #BBAA45 #45BBAA
tetradic
#AA45BB #BB6F45 #56BB45 #4591BB
square
#AA45BB #BB6F45 #56BB45 #4591BB
split-complementary
#AA45BB #91BB45 #45BB6F
monochromatic
#592462 #82348F #AA45BB #BE72CB #D39FDC

Accessibility & contrast

On white

4.91
#AA45BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#AA45BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA45BB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45BB#FFFFFF#000000##FFFFFF
##AA45BB1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2969BF
Deuteranopia (green-blind)
#5374B8
Tritanopia (blue-blind)
#AC587A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #aa45bb;
/* rgb */ color: rgb(170, 69, 187);
/* oklch */ color: oklch(57.2% 0.195 321.6);
Tailwind
colors: {
  custom: {
    50: '#c67fd0',
    500: '#aa45bb',
    950: '#000000',
  },
}
SCSS
$custom: #aa45bb;
$custom-light: #c67fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45bb",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 291.356,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57206,
    "c": 0.19525,
    "h": 321.6
  },
  "luminance": 0.1639
}

Semantic roles & 50–950 ramp

primary
#AA45BB
secondary
#9BC894
accent
#D65265
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AA45BB

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

Preview Lab → · Contrast checker → · Palette generator →

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