#AA57BB#AA57BB

#AA57BB is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.5% C 0.168 H 320.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AA57BB
RGBrgb(170, 87, 187)
HSLhsl(290, 42%, 54%)
HSVhsv(290, 53%, 73%)
CMYKcmyk(9.1%, 53.5%, 0%, 26.7%)
CIE-LABlab(50.63, 49.23, -38.53)
CIE-LCHlch(50.63, 62.51, 321.95°)
OKLaboklab(59.5% 0.13 -0.1068)
OKLCHoklch(59.5% 0.168 320.6)
XYZxyz(28.9543, 18.9515, 49.1369)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57BB #68BB57
analogous
#7857BB #AA57BB #BB579A
triadic
#AA57BB #BBAA57 #57BBAA
tetradic
#AA57BB #BB7857 #68BB57 #579ABB
square
#AA57BB #BB7857 #68BB57 #579ABB
split-complementary
#AA57BB #9ABB57 #57BB78
monochromatic
#612C6C #883D97 #AA57BB #C083CD #D6AEDE

Accessibility & contrast

On white

4.38
#AA57BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#AA57BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57BB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57BB#FFFFFF#000000##000000
##AA57BB1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4573BE
Deuteranopia (green-blind)
#607CB8
Tritanopia (blue-blind)
#AB6581
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa57bb;
/* rgb */ color: rgb(170, 87, 187);
/* oklch */ color: oklch(59.5% 0.168 320.6);
Tailwind
colors: {
  custom: {
    50: '#c58ad0',
    500: '#aa57bb',
    950: '#000000',
  },
}
SCSS
$custom: #aa57bb;
$custom-light: #c58ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57bb",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 289.8,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59503,
    "c": 0.16829,
    "h": 320.6
  },
  "luminance": 0.1895
}

Semantic roles & 50–950 ramp

primary
#AA57BB
secondary
#A9CCA2
accent
#D2566B
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AA57BB

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

Preview Lab → · Contrast checker → · Palette generator →

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