#AA4EB2#AA4EB2

#AA4EB2 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.8% C 0.174 H 324.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AA4EB2
RGBrgb(170, 78, 178)
HSLhsl(295, 39%, 50%)
HSVhsv(295, 56%, 70%)
CMYKcmyk(4.5%, 56.2%, 0%, 30.2%)
CIE-LABlab(48.52, 51.92, -36.61)
CIE-LCHlch(48.52, 63.53, 324.82°)
OKLaboklab(57.81% 0.1412 -0.1012)
OKLCHoklch(57.81% 0.174 324.4)
XYZxyz(27.3371, 17.2106, 43.9929)
Luminance0.1721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4EB2 #56B24E
analogous
#784EB2 #AA4EB2 #B24E88
triadic
#AA4EB2 #B2AA4E #4EB2AA
tetradic
#AA4EB2 #B2784E #56B24E #4E88B2
square
#AA4EB2 #B2784E #56B24E #4E88B2
split-complementary
#AA4EB2 #88B24E #4EB278
monochromatic
#59295D #823B88 #AA4EB2 #BE79C5 #D3A3D7

Accessibility & contrast

On white

4.73
#AA4EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#AA4EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4EB2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4EB2#FFFFFF#000000##FFFFFF
##AA4EB21.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB5
Deuteranopia (green-blind)
#5E77AF
Tritanopia (blue-blind)
#AD5B79
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #aa4eb2;
/* rgb */ color: rgb(170, 78, 178);
/* oklch */ color: oklch(57.8% 0.174 324.4);
Tailwind
colors: {
  custom: {
    50: '#c684c9',
    500: '#aa4eb2',
    950: '#000000',
  },
}
SCSS
$custom: #aa4eb2;
$custom-light: #c684c9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4eb2",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 295.2,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57809,
    "c": 0.17375,
    "h": 324.4
  },
  "luminance": 0.17209
}

Semantic roles & 50–950 ramp

primary
#AA4EB2
secondary
#9BC498
accent
#CF5962
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA4EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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