#AA4ABC#AA4ABC

#AA4ABC is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.9% C 0.189 H 321.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AA4ABC
RGBrgb(170, 74, 188)
HSLhsl(291, 46%, 51%)
HSVhsv(291, 61%, 74%)
CMYKcmyk(9.6%, 60.6%, 0%, 26.3%)
CIE-LABlab(48.36, 55.70, -42.71)
CIE-LCHlch(48.36, 70.19, 322.52°)
OKLaboklab(57.86% 0.147 -0.1189)
OKLCHoklch(57.86% 0.189 321)
XYZxyz(28.1024, 17.0758, 49.3829)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4ABC #5CBC4A
analogous
#714ABC #AA4ABC #BC4A95
triadic
#AA4ABC #BCAA4A #4ABCAA
tetradic
#AA4ABC #BC714A #5CBC4A #4A95BC
square
#AA4ABC #BC714A #5CBC4A #4A95BC
split-complementary
#AA4ABC #95BC4A #4ABC71
monochromatic
#5C2666 #843693 #AA4ABC #BF77CD #D4A3DD

Accessibility & contrast

On white

4.76
#AA4ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#AA4ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4ABC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4ABC#FFFFFF#000000##FFFFFF
##AA4ABC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316CC0
Deuteranopia (green-blind)
#5676B9
Tritanopia (blue-blind)
#AB5C7C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #aa4abc;
/* rgb */ color: rgb(170, 74, 188);
/* oklch */ color: oklch(57.9% 0.189 321.0);
Tailwind
colors: {
  custom: {
    50: '#c682d1',
    500: '#aa4abc',
    950: '#000000',
  },
}
SCSS
$custom: #aa4abc;
$custom-light: #c682d1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4abc",
  "rgb": {
    "r": 170,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 290.526,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57856,
    "c": 0.1891,
    "h": 321
  },
  "luminance": 0.17074
}

Semantic roles & 50–950 ramp

primary
#AA4ABC
secondary
#A0CA98
accent
#D65267
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AA4ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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