#AA5FAC#AA5FAC

#AA5FAC is a mid, vivid purple. Relative luminance 0.197; OKLCH L 59.9% C 0.140 H 326.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AA5FAC
RGBrgb(170, 95, 172)
HSLhsl(298, 32%, 52%)
HSVhsv(298, 45%, 67%)
CMYKcmyk(1.2%, 44.8%, 0%, 32.5%)
CIE-LABlab(51.51, 42.17, -28.43)
CIE-LCHlch(51.51, 50.86, 326.01°)
OKLaboklab(59.92% 0.1164 -0.0779)
OKLCHoklch(59.92% 0.14 326.2)
XYZxyz(28.1156, 19.7104, 41.3453)
Luminance0.1971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FAC #61AC5F
analogous
#845FAC #AA5FAC #AC5F87
triadic
#AA5FAC #ACAA5F #5FACAA
tetradic
#AA5FAC #AC845F #61AC5F #5F87AC
square
#AA5FAC #AC845F #61AC5F #5F87AC
split-complementary
#AA5FAC #87AC5F #5FAC84
monochromatic
#5E315F #864688 #AA5FAC #BF87C1 #D5B0D6

Accessibility & contrast

On white

4.25
#AA5FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#AA5FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FAC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FAC#FFFFFF#000000##000000
##AA5FAC1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5875AF
Deuteranopia (green-blind)
#6D7EAA
Tritanopia (blue-blind)
#AE677D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa5fac;
/* rgb */ color: rgb(170, 95, 172);
/* oklch */ color: oklch(59.9% 0.140 326.2);
Tailwind
colors: {
  custom: {
    50: '#c58fc5',
    500: '#aa5fac',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fac;
$custom-light: #c58fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fac",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 172
  },
  "hsl": {
    "h": 298.442,
    "s": 31.687,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59922,
    "c": 0.14,
    "h": 326.2
  },
  "luminance": 0.19709
}

Semantic roles & 50–950 ramp

primary
#AA5FAC
secondary
#A4C4A3
accent
#C86063
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AA5FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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