#AA4DAF#AA4DAF

#AA4DAF is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.5% C 0.173 H 325.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AA4DAF
RGBrgb(170, 77, 175)
HSLhsl(297, 39%, 49%)
HSVhsv(297, 56%, 69%)
CMYKcmyk(2.9%, 56%, 0%, 31.4%)
CIE-LABlab(48.20, 51.84, -35.36)
CIE-LCHlch(48.20, 62.76, 325.70°)
OKLaboklab(57.52% 0.1422 -0.0976)
OKLCHoklch(57.52% 0.173 325.5)
XYZxyz(26.9687, 16.9505, 42.4004)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4DAF #52AF4D
analogous
#794DAF #AA4DAF #AF4D83
triadic
#AA4DAF #AFAA4D #4DAFAA
tetradic
#AA4DAF #AF794D #52AF4D #4D83AF
square
#AA4DAF #AF794D #52AF4D #4D83AF
split-complementary
#AA4DAF #83AF4D #4DAF79
monochromatic
#57285A #813A85 #AA4DAF #BF76C3 #D3A1D6

Accessibility & contrast

On white

4.78
#AA4DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AA4DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4DAF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4DAF#FFFFFF#000000##FFFFFF
##AA4DAF1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406BB2
Deuteranopia (green-blind)
#5F77AC
Tritanopia (blue-blind)
#AE5977
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa4daf;
/* rgb */ color: rgb(170, 77, 175);
/* oklch */ color: oklch(57.5% 0.173 325.5);
Tailwind
colors: {
  custom: {
    50: '#c684c7',
    500: '#aa4daf',
    950: '#000000',
  },
}
SCSS
$custom: #aa4daf;
$custom-light: #c684c7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4daf",
  "rgb": {
    "r": 170,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 296.939,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57521,
    "c": 0.17252,
    "h": 325.5
  },
  "luminance": 0.16949
}

Semantic roles & 50–950 ramp

primary
#AA4DAF
secondary
#98C395
accent
#CF595F
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA4DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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