#AA4EB8#AA4EB8

#AA4EB8 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.1% C 0.179 H 322.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AA4EB8
RGBrgb(170, 78, 184)
HSLhsl(292, 43%, 51%)
HSVhsv(292, 58%, 72%)
CMYKcmyk(7.6%, 57.6%, 0%, 27.8%)
CIE-LABlab(48.83, 53.06, -39.63)
CIE-LCHlch(48.83, 66.23, 323.25°)
OKLaboklab(58.13% 0.1417 -0.11)
OKLCHoklch(58.13% 0.179 322.2)
XYZxyz(27.9528, 17.4569, 47.2352)
Luminance0.1746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4EB8 #5CB84E
analogous
#754EB8 #AA4EB8 #B84E91
triadic
#AA4EB8 #B8AA4E #4EB8AA
tetradic
#AA4EB8 #B8754E #5CB84E #4E91B8
square
#AA4EB8 #B8754E #5CB84E #4E91B8
split-complementary
#AA4EB8 #91B84E #4EB875
monochromatic
#5C2864 #84398F #AA4EB8 #BF7ACA #D4A5DB

Accessibility & contrast

On white

4.68
#AA4EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#AA4EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4EB8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4EB8#FFFFFF#000000##FFFFFF
##AA4EB81.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6DBB
Deuteranopia (green-blind)
#5B78B5
Tritanopia (blue-blind)
#AC5D7C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #aa4eb8;
/* rgb */ color: rgb(170, 78, 184);
/* oklch */ color: oklch(58.1% 0.179 322.2);
Tailwind
colors: {
  custom: {
    50: '#c684ce',
    500: '#aa4eb8',
    950: '#000000',
  },
}
SCSS
$custom: #aa4eb8;
$custom-light: #c684ce;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4eb8",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 184
  },
  "hsl": {
    "h": 292.075,
    "s": 42.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58133,
    "c": 0.1794,
    "h": 322.2
  },
  "luminance": 0.17456
}

Semantic roles & 50–950 ramp

primary
#AA4EB8
secondary
#A0C89A
accent
#D35566
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA4EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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