#AA4CAF#AA4CAF

#AA4CAF is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.4% C 0.174 H 325.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AA4CAF
RGBrgb(170, 76, 175)
HSLhsl(297, 39%, 49%)
HSVhsv(297, 57%, 69%)
CMYKcmyk(2.9%, 56.6%, 0%, 31.4%)
CIE-LABlab(48.02, 52.32, -35.64)
CIE-LCHlch(48.02, 63.30, 325.74°)
OKLaboklab(57.39% 0.1436 -0.0984)
OKLCHoklch(57.39% 0.174 325.6)
XYZxyz(26.8993, 16.8116, 42.3772)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4CAF #51AF4C
analogous
#794CAF #AA4CAF #AF4C83
triadic
#AA4CAF #AFAA4C #4CAFAA
tetradic
#AA4CAF #AF794C #51AF4C #4C83AF
square
#AA4CAF #AF794C #51AF4C #4C83AF
split-complementary
#AA4CAF #83AF4C #4CAF79
monochromatic
#57275A #813984 #AA4CAF #BF75C3 #D3A0D6

Accessibility & contrast

On white

4.81
#AA4CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AA4CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4CAF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4CAF#FFFFFF#000000##FFFFFF
##AA4CAF1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6AB2
Deuteranopia (green-blind)
#5E76AC
Tritanopia (blue-blind)
#AE5976
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa4caf;
/* rgb */ color: rgb(170, 76, 175);
/* oklch */ color: oklch(57.4% 0.174 325.6);
Tailwind
colors: {
  custom: {
    50: '#c683c7',
    500: '#aa4caf',
    950: '#000000',
  },
}
SCSS
$custom: #aa4caf;
$custom-light: #c683c7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4caf",
  "rgb": {
    "r": 170,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 296.97,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57393,
    "c": 0.17406,
    "h": 325.6
  },
  "luminance": 0.1681
}

Semantic roles & 50–950 ramp

primary
#AA4CAF
secondary
#97C294
accent
#CF585E
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA4CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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