#AA4ABB#AA4ABB

#AA4ABB is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.8% C 0.188 H 321.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AA4ABB
RGBrgb(170, 74, 187)
HSLhsl(291, 45%, 51%)
HSVhsv(291, 60%, 73%)
CMYKcmyk(9.1%, 60.4%, 0%, 26.7%)
CIE-LABlab(48.30, 55.51, -42.21)
CIE-LCHlch(48.30, 69.74, 322.75°)
OKLaboklab(57.8% 0.147 -0.1174)
OKLCHoklch(57.8% 0.188 321.4)
XYZxyz(27.9950, 17.0328, 48.8171)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4ABB #5BBB4A
analogous
#714ABB #AA4ABB #BB4A93
triadic
#AA4ABB #BBAA4A #4ABBAA
tetradic
#AA4ABB #BB714A #5BBB4A #4A93BB
square
#AA4ABB #BB714A #5BBB4A #4A93BB
split-complementary
#AA4ABB #93BB4A #4ABB71
monochromatic
#5B2665 #843791 #AA4ABB #BF76CC #D4A3DC

Accessibility & contrast

On white

4.77
#AA4ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA4ABB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4ABB#FFFFFF#000000##FFFFFF
##AA4ABB1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326CBE
Deuteranopia (green-blind)
#5676B8
Tritanopia (blue-blind)
#AC5B7C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #aa4abb;
/* rgb */ color: rgb(170, 74, 187);
/* oklch */ color: oklch(57.8% 0.188 321.4);
Tailwind
colors: {
  custom: {
    50: '#c682d0',
    500: '#aa4abb',
    950: '#000000',
  },
}
SCSS
$custom: #aa4abb;
$custom-light: #c682d0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4abb",
  "rgb": {
    "r": 170,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 290.973,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57799,
    "c": 0.18816,
    "h": 321.4
  },
  "luminance": 0.17031
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA4ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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