#AA55BB#AA55BB

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

Color values

HEX#AA55BB
RGBrgb(170, 85, 187)
HSLhsl(290, 43%, 53%)
HSVhsv(290, 55%, 73%)
CMYKcmyk(9.1%, 54.5%, 0%, 26.7%)
CIE-LABlab(50.25, 50.23, -39.12)
CIE-LCHlch(50.25, 63.67, 322.09°)
OKLaboklab(59.23% 0.1327 -0.1085)
OKLCHoklch(59.23% 0.171 320.7)
XYZxyz(28.7946, 18.6322, 49.0837)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA55BB #66BB55
analogous
#7755BB #AA55BB #BB5599
triadic
#AA55BB #BBAA55 #55BBAA
tetradic
#AA55BB #BB7755 #66BB55 #5599BB
square
#AA55BB #BB7755 #66BB55 #5599BB
split-complementary
#AA55BB #99BB55 #55BB77
monochromatic
#602B6B #883C97 #AA55BB #C081CC #D6ACDE

Accessibility & contrast

On white

4.44
#AA55BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#AA55BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA55BB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA55BB#FFFFFF#000000##000000
##AA55BB1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4272BE
Deuteranopia (green-blind)
#5E7BB8
Tritanopia (blue-blind)
#AB6480
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa55bb;
/* rgb */ color: rgb(170, 85, 187);
/* oklch */ color: oklch(59.2% 0.171 320.7);
Tailwind
colors: {
  custom: {
    50: '#c689d0',
    500: '#aa55bb',
    950: '#000000',
  },
}
SCSS
$custom: #aa55bb;
$custom-light: #c689d0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa55bb",
  "rgb": {
    "r": 170,
    "g": 85,
    "b": 187
  },
  "hsl": {
    "h": 290,
    "s": 42.857,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59226,
    "c": 0.17147,
    "h": 320.7
  },
  "luminance": 0.18631
}

Semantic roles & 50–950 ramp

primary
#AA55BB
secondary
#A7CCA0
accent
#D3556A
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AA55BB

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

Preview Lab → · Contrast checker → · Palette generator →

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