#AA55B2#AA55B2

#AA55B2 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 58.8% C 0.163 H 324.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AA55B2
RGBrgb(170, 85, 178)
HSLhsl(295, 38%, 52%)
HSVhsv(295, 52%, 70%)
CMYKcmyk(4.5%, 52.2%, 0%, 30.2%)
CIE-LABlab(49.81, 48.48, -34.59)
CIE-LCHlch(49.81, 59.56, 324.50°)
OKLaboklab(58.75% 0.1317 -0.0954)
OKLCHoklch(58.75% 0.163 324.1)
XYZxyz(27.8612, 18.2588, 44.1676)
Luminance0.1826 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA55B2 #5DB255
analogous
#7C55B2 #AA55B2 #B2558C
triadic
#AA55B2 #B2AA55 #55B2AA
tetradic
#AA55B2 #B27C55 #5DB255 #558CB2
square
#AA55B2 #B27C55 #5DB255 #558CB2
split-complementary
#AA55B2 #8CB255 #55B27C
monochromatic
#5C2C61 #843F8B #AA55B2 #BF7FC5 #D4A9D8

Accessibility & contrast

On white

4.51
#AA55B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#AA55B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA55B2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA55B2#FFFFFF#000000##000000
##AA55B21.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4870B5
Deuteranopia (green-blind)
#637AAF
Tritanopia (blue-blind)
#AD617C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #aa55b2;
/* rgb */ color: rgb(170, 85, 178);
/* oklch */ color: oklch(58.8% 0.163 324.1);
Tailwind
colors: {
  custom: {
    50: '#c588c9',
    500: '#aa55b2',
    950: '#000000',
  },
}
SCSS
$custom: #aa55b2;
$custom-light: #c588c9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa55b2",
  "rgb": {
    "r": 170,
    "g": 85,
    "b": 178
  },
  "hsl": {
    "h": 294.839,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58753,
    "c": 0.16266,
    "h": 324.1
  },
  "luminance": 0.18257
}

Semantic roles & 50–950 ramp

primary
#AA55B2
secondary
#A0C69D
accent
#CE5A64
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AA55B2

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

Preview Lab → · Contrast checker → · Palette generator →

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