#AA4BBB#AA4BBB

#AA4BBB is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.9% C 0.187 H 321.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AA4BBB
RGBrgb(170, 75, 187)
HSLhsl(291, 45%, 51%)
HSVhsv(291, 60%, 73%)
CMYKcmyk(9.1%, 59.9%, 0%, 26.7%)
CIE-LABlab(48.47, 55.05, -41.94)
CIE-LCHlch(48.47, 69.21, 322.70°)
OKLaboklab(57.92% 0.1458 -0.1167)
OKLCHoklch(57.92% 0.187 321.3)
XYZxyz(28.0623, 17.1674, 48.8396)
Luminance0.1717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4BBB #5CBB4B
analogous
#724BBB #AA4BBB #BB4B94
triadic
#AA4BBB #BBAA4B #4BBBAA
tetradic
#AA4BBB #BB724B #5CBB4B #4B94BB
square
#AA4BBB #BB724B #5CBB4B #4B94BB
split-complementary
#AA4BBB #94BB4B #4BBB72
monochromatic
#5C2665 #843792 #AA4BBB #BF77CC #D4A4DD

Accessibility & contrast

On white

4.74
#AA4BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AA4BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4BBB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4BBB#FFFFFF#000000##FFFFFF
##AA4BBB1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336CBE
Deuteranopia (green-blind)
#5777B8
Tritanopia (blue-blind)
#AC5C7C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #aa4bbb;
/* rgb */ color: rgb(170, 75, 187);
/* oklch */ color: oklch(57.9% 0.187 321.3);
Tailwind
colors: {
  custom: {
    50: '#c683d0',
    500: '#aa4bbb',
    950: '#000000',
  },
}
SCSS
$custom: #aa4bbb;
$custom-light: #c683d0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4bbb",
  "rgb": {
    "r": 170,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 290.893,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57922,
    "c": 0.1867,
    "h": 321.3
  },
  "luminance": 0.17166
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA4BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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