#AA4EB3#AA4EB3

#AA4EB3 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.9% C 0.175 H 324.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AA4EB3
RGBrgb(170, 78, 179)
HSLhsl(295, 40%, 50%)
HSVhsv(295, 56%, 70%)
CMYKcmyk(5%, 56.4%, 0%, 29.8%)
CIE-LABlab(48.57, 52.11, -37.11)
CIE-LCHlch(48.57, 63.98, 324.54°)
OKLaboklab(57.86% 0.1413 -0.1027)
OKLCHoklch(57.86% 0.175 324)
XYZxyz(27.4379, 17.2509, 44.5236)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4EB3 #57B34E
analogous
#774EB3 #AA4EB3 #B34E8A
triadic
#AA4EB3 #B3AA4E #4EB3AA
tetradic
#AA4EB3 #B3774E #57B34E #4E8AB3
square
#AA4EB3 #B3774E #57B34E #4E8AB3
split-complementary
#AA4EB3 #8AB34E #4EB377
monochromatic
#59285E #823B89 #AA4EB3 #BF79C5 #D3A4D8

Accessibility & contrast

On white

4.72
#AA4EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#AA4EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4EB3
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4EB3#FFFFFF#000000##FFFFFF
##AA4EB31.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB6
Deuteranopia (green-blind)
#5D77B0
Tritanopia (blue-blind)
#AD5C79
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #aa4eb3;
/* rgb */ color: rgb(170, 78, 179);
/* oklch */ color: oklch(57.9% 0.175 324.0);
Tailwind
colors: {
  custom: {
    50: '#c684ca',
    500: '#aa4eb3',
    950: '#000000',
  },
}
SCSS
$custom: #aa4eb3;
$custom-light: #c684ca;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4eb3",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 294.653,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57863,
    "c": 0.17469,
    "h": 324
  },
  "luminance": 0.17249
}

Semantic roles & 50–950 ramp

primary
#AA4EB3
secondary
#9CC598
accent
#D05863
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA4EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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