#AA4BAD#AA4BAD

#AA4BAD is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.2% C 0.174 H 326.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AA4BAD
RGBrgb(170, 75, 173)
HSLhsl(298, 40%, 49%)
HSVhsv(298, 57%, 68%)
CMYKcmyk(1.7%, 56.6%, 0%, 32.2%)
CIE-LABlab(47.75, 52.42, -34.90)
CIE-LCHlch(47.75, 62.98, 326.35°)
OKLaboklab(57.16% 0.1447 -0.0963)
OKLCHoklch(57.16% 0.174 326.4)
XYZxyz(26.6360, 16.5969, 41.3276)
Luminance0.1659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4BAD #4EAD4B
analogous
#794BAD #AA4BAD #AD4B7F
triadic
#AA4BAD #ADAA4B #4BADAA
tetradic
#AA4BAD #AD794B #4EAD4B #4B7FAD
square
#AA4BAD #AD794B #4EAD4B #4B7FAD
split-complementary
#AA4BAD #7FAD4B #4BAD79
monochromatic
#562658 #803882 #AA4BAD #C073C2 #D39ED5

Accessibility & contrast

On white

4.86
#AA4BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#AA4BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4BAD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4BAD#FFFFFF#000000##FFFFFF
##AA4BAD1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6AB0
Deuteranopia (green-blind)
#5E76AA
Tritanopia (blue-blind)
#AE5775
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #aa4bad;
/* rgb */ color: rgb(170, 75, 173);
/* oklch */ color: oklch(57.2% 0.174 326.4);
Tailwind
colors: {
  custom: {
    50: '#c682c6',
    500: '#aa4bad',
    950: '#000000',
  },
}
SCSS
$custom: #aa4bad;
$custom-light: #c682c6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4bad",
  "rgb": {
    "r": 170,
    "g": 75,
    "b": 173
  },
  "hsl": {
    "h": 298.163,
    "s": 39.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5716,
    "c": 0.17377,
    "h": 326.4
  },
  "luminance": 0.16595
}

Semantic roles & 50–950 ramp

primary
#AA4BAD
secondary
#94C192
accent
#CF585C
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA4BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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