#AA4BAF#AA4BAF

#AA4BAF is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.3% C 0.176 H 325.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AA4BAF
RGBrgb(170, 75, 175)
HSLhsl(297, 40%, 49%)
HSVhsv(297, 57%, 69%)
CMYKcmyk(2.9%, 57.1%, 0%, 31.4%)
CIE-LABlab(47.85, 52.79, -35.91)
CIE-LCHlch(47.85, 63.85, 325.77°)
OKLaboklab(57.27% 0.1449 -0.0992)
OKLCHoklch(57.27% 0.176 325.6)
XYZxyz(26.8309, 16.6749, 42.3544)
Luminance0.1667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4BAF #50AF4B
analogous
#784BAF #AA4BAF #AF4B82
triadic
#AA4BAF #AFAA4B #4BAFAA
tetradic
#AA4BAF #AF784B #50AF4B #4B82AF
square
#AA4BAF #AF784B #50AF4B #4B82AF
split-complementary
#AA4BAF #82AF4B #4BAF78
monochromatic
#572659 #803984 #AA4BAF #BF74C3 #D39FD6

Accessibility & contrast

On white

4.84
#AA4BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AA4BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4BAF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4BAF#FFFFFF#000000##FFFFFF
##AA4BAF1.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6AB2
Deuteranopia (green-blind)
#5D76AC
Tritanopia (blue-blind)
#AE5876
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa4baf;
/* rgb */ color: rgb(170, 75, 175);
/* oklch */ color: oklch(57.3% 0.176 325.6);
Tailwind
colors: {
  custom: {
    50: '#c682c7',
    500: '#aa4baf',
    950: '#000000',
  },
}
SCSS
$custom: #aa4baf;
$custom-light: #c682c7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4baf",
  "rgb": {
    "r": 170,
    "g": 75,
    "b": 175
  },
  "hsl": {
    "h": 297,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57265,
    "c": 0.17559,
    "h": 325.6
  },
  "luminance": 0.16673
}

Semantic roles & 50–950 ramp

primary
#AA4BAF
secondary
#96C293
accent
#D0585E
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA4BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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