#AA55BA#AA55BA

#AA55BA is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.2% C 0.170 H 321.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AA55BA
RGBrgb(170, 85, 186)
HSLhsl(290, 42%, 53%)
HSVhsv(290, 54%, 73%)
CMYKcmyk(8.6%, 54.3%, 0%, 27.1%)
CIE-LABlab(50.20, 50.04, -38.62)
CIE-LCHlch(50.20, 63.21, 322.34°)
OKLaboklab(59.17% 0.1326 -0.1071)
OKLCHoklch(59.17% 0.17 321.1)
XYZxyz(28.6880, 18.5895, 48.5219)
Luminance0.1859 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA55BA #65BA55
analogous
#7755BA #AA55BA #BA5597
triadic
#AA55BA #BAAA55 #55BAAA
tetradic
#AA55BA #BA7755 #65BA55 #5597BA
square
#AA55BA #BA7755 #65BA55 #5597BA
split-complementary
#AA55BA #97BA55 #55BA77
monochromatic
#602B6A #873D95 #AA55BA #C081CC #D6ACDD

Accessibility & contrast

On white

4.45
#AA55BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#AA55BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA55BA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA55BA#FFFFFF#000000##000000
##AA55BA1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4371BD
Deuteranopia (green-blind)
#5F7BB7
Tritanopia (blue-blind)
#AC637F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #aa55ba;
/* rgb */ color: rgb(170, 85, 186);
/* oklch */ color: oklch(59.2% 0.170 321.1);
Tailwind
colors: {
  custom: {
    50: '#c689cf',
    500: '#aa55ba',
    950: '#000000',
  },
}
SCSS
$custom: #aa55ba;
$custom-light: #c689cf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa55ba",
  "rgb": {
    "r": 170,
    "g": 85,
    "b": 186
  },
  "hsl": {
    "h": 290.495,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59172,
    "c": 0.17047,
    "h": 321.1
  },
  "luminance": 0.18588
}

Semantic roles & 50–950 ramp

primary
#AA55BA
secondary
#A7CBA0
accent
#D25669
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AA55BA

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

Preview Lab → · Contrast checker → · Palette generator →

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