#AA5AAF#AA5AAF

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

Color values

HEX#AA5AAF
RGBrgb(170, 90, 175)
HSLhsl(296, 35%, 52%)
HSVhsv(296, 49%, 69%)
CMYKcmyk(2.9%, 48.6%, 0%, 31.4%)
CIE-LABlab(50.63, 45.36, -31.55)
CIE-LCHlch(50.63, 55.25, 325.18°)
OKLaboklab(59.32% 0.1242 -0.0867)
OKLCHoklch(59.32% 0.151 325.1)
XYZxyz(27.9709, 18.9549, 42.7345)
Luminance0.1895 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5AAF #5FAF5A
analogous
#805AAF #AA5AAF #AF5A89
triadic
#AA5AAF #AFAA5A #5AAFAA
tetradic
#AA5AAF #AF805A #5FAF5A #5A89AF
square
#AA5AAF #AF805A #5FAF5A #5A89AF
split-complementary
#AA5AAF #89AF5A #5AAF80
monochromatic
#5D2F60 #854389 #AA5AAF #BF83C3 #D4ACD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA5AAF#FFFFFF#000000##000000
##AA5AAF1.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)
#5072B2
Deuteranopia (green-blind)
#687CAC
Tritanopia (blue-blind)
#AD647C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa5aaf;
/* rgb */ color: rgb(170, 90, 175);
/* oklch */ color: oklch(59.3% 0.151 325.1);
Tailwind
colors: {
  custom: {
    50: '#c58bc7',
    500: '#aa5aaf',
    950: '#000000',
  },
}
SCSS
$custom: #aa5aaf;
$custom-light: #c58bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5aaf",
  "rgb": {
    "r": 170,
    "g": 90,
    "b": 175
  },
  "hsl": {
    "h": 296.471,
    "s": 34.694,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59317,
    "c": 0.15149,
    "h": 325.1
  },
  "luminance": 0.18954
}

Semantic roles & 50–950 ramp

primary
#AA5AAF
secondary
#A2C5A0
accent
#CB5D63
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AA5AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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