#AA4EB5#AA4EB5

#AA4EB5 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.0% C 0.177 H 323.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AA4EB5
RGBrgb(170, 78, 181)
HSLhsl(294, 41%, 51%)
HSVhsv(294, 57%, 71%)
CMYKcmyk(6.1%, 56.9%, 0%, 29%)
CIE-LABlab(48.68, 52.49, -38.12)
CIE-LCHlch(48.68, 64.87, 324.01°)
OKLaboklab(57.97% 0.1415 -0.1056)
OKLCHoklch(57.97% 0.177 323.3)
XYZxyz(27.6416, 17.3324, 45.5966)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4EB5 #59B54E
analogous
#764EB5 #AA4EB5 #B54E8C
triadic
#AA4EB5 #B5AA4E #4EB5AA
tetradic
#AA4EB5 #B5764E #59B54E #4E8CB5
square
#AA4EB5 #B5764E #59B54E #4E8CB5
split-complementary
#AA4EB5 #8CB54E #4EB576
monochromatic
#5A2860 #833A8B #AA4EB5 #BF79C7 #D3A4D9

Accessibility & contrast

On white

4.70
#AA4EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#AA4EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4EB5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4EB5#FFFFFF#000000##FFFFFF
##AA4EB51.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6DB8
Deuteranopia (green-blind)
#5C77B2
Tritanopia (blue-blind)
#AD5C7A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #aa4eb5;
/* rgb */ color: rgb(170, 78, 181);
/* oklch */ color: oklch(58.0% 0.177 323.3);
Tailwind
colors: {
  custom: {
    50: '#c684cb',
    500: '#aa4eb5',
    950: '#000000',
  },
}
SCSS
$custom: #aa4eb5;
$custom-light: #c684cb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4eb5",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 181
  },
  "hsl": {
    "h": 293.592,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5797,
    "c": 0.17656,
    "h": 323.3
  },
  "luminance": 0.17331
}

Semantic roles & 50–950 ramp

primary
#AA4EB5
secondary
#9DC699
accent
#D15764
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA4EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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