#AA74BB#AA74BB

#AA74BB is a light, moderate purple. Relative luminance 0.246; OKLCH L 64.0% C 0.119 H 317.8°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AA74BB
RGBrgb(170, 116, 187)
HSLhsl(286, 34%, 59%)
HSVhsv(286, 38%, 73%)
CMYKcmyk(9.1%, 38%, 0%, 26.7%)
CIE-LABlab(56.71, 33.68, -29.03)
CIE-LCHlch(56.71, 44.46, 319.24°)
OKLaboklab(64.04% 0.088 -0.0797)
OKLCHoklch(64.04% 0.119 317.8)
XYZxyz(31.7913, 24.6255, 50.0826)
Luminance0.2462 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA74BB #85BB74
analogous
#8774BB #AA74BB #BB74A9
triadic
#AA74BB #BBAA74 #74BBAA
tetradic
#AA74BB #BB8774 #85BB74 #74A9BB
square
#AA74BB #BB8774 #85BB74 #74A9BB
split-complementary
#AA74BB #A9BB74 #74BB87
monochromatic
#6A3B79 #8F4FA2 #AA74BB #C39DCF #DCC6E3

Accessibility & contrast

On white

3.54
#AA74BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#AA74BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA74BB
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA74BB#FFFFFF#000000##000000
##AA74BB1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A85BE
Deuteranopia (green-blind)
#778AB9
Tritanopia (blue-blind)
#AA7D8F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #aa74bb;
/* rgb */ color: rgb(170, 116, 187);
/* oklch */ color: oklch(64.0% 0.119 317.8);
Tailwind
colors: {
  custom: {
    50: '#c49dcf',
    500: '#aa74bb',
    950: '#000000',
  },
}
SCSS
$custom: #aa74bb;
$custom-light: #c49dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa74bb",
  "rgb": {
    "r": 170,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 285.634,
    "s": 34.3,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64035,
    "c": 0.11877,
    "h": 317.8
  },
  "luminance": 0.24625
}

Semantic roles & 50–950 ramp

primary
#AA74BB
secondary
#BED3B8
accent
#CA5D78
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AA74BB

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

Preview Lab → · Contrast checker → · Palette generator →

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