#AA4ABA#AA4ABA

#AA4ABA is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.7% C 0.187 H 321.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AA4ABA
RGBrgb(170, 74, 186)
HSLhsl(291, 45%, 51%)
HSVhsv(291, 60%, 73%)
CMYKcmyk(8.6%, 60.2%, 0%, 27.1%)
CIE-LABlab(48.25, 55.32, -41.71)
CIE-LCHlch(48.25, 69.28, 322.98°)
OKLaboklab(57.74% 0.147 -0.116)
OKLCHoklch(57.74% 0.187 321.7)
XYZxyz(27.8883, 16.9902, 48.2553)
Luminance0.1699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4ABA #5ABA4A
analogous
#724ABA #AA4ABA #BA4A92
triadic
#AA4ABA #BAAA4A #4ABAAA
tetradic
#AA4ABA #BA724A #5ABA4A #4A92BA
square
#AA4ABA #BA724A #5ABA4A #4A92BA
split-complementary
#AA4ABA #92BA4A #4ABA72
monochromatic
#5B2664 #833790 #AA4ABA #BF76CB #D4A3DC

Accessibility & contrast

On white

4.78
#AA4ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#AA4ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4ABA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4ABA#FFFFFF#000000##FFFFFF
##AA4ABA1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336CBD
Deuteranopia (green-blind)
#5776B7
Tritanopia (blue-blind)
#AC5B7B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #aa4aba;
/* rgb */ color: rgb(170, 74, 186);
/* oklch */ color: oklch(57.7% 0.187 321.7);
Tailwind
colors: {
  custom: {
    50: '#c682cf',
    500: '#aa4aba',
    950: '#000000',
  },
}
SCSS
$custom: #aa4aba;
$custom-light: #c682cf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4aba",
  "rgb": {
    "r": 170,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 291.429,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57742,
    "c": 0.18723,
    "h": 321.7
  },
  "luminance": 0.16989
}

Semantic roles & 50–950 ramp

primary
#AA4ABA
secondary
#9EC997
accent
#D55366
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AA4ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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