#AA7BB2#AA7BB2

#AA7BB2 is a light, moderate purple. Relative luminance 0.259; OKLCH L 64.9% C 0.096 H 321.5°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AA7BB2
RGBrgb(170, 123, 178)
HSLhsl(291, 26%, 59%)
HSVhsv(291, 31%, 70%)
CMYKcmyk(4.5%, 30.9%, 0%, 30.2%)
CIE-LABlab(57.97, 27.90, -21.93)
CIE-LCHlch(57.97, 35.49, 321.83°)
OKLaboklab(64.87% 0.0751 -0.0597)
OKLCHoklch(64.87% 0.096 321.5)
XYZxyz(31.6954, 25.9272, 45.4457)
Luminance0.2593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7BB2 #83B27B
analogous
#8F7BB2 #AA7BB2 #B27B9F
triadic
#AA7BB2 #B2AA7B #7BB2AA
tetradic
#AA7BB2 #B28F7B #83B27B #7B9FB2
square
#AA7BB2 #B28F7B #83B27B #7B9FB2
split-complementary
#AA7BB2 #9FB27B #7BB28F
monochromatic
#6A4271 #8E5897 #AA7BB2 #C3A2C9 #DCC8DF

Accessibility & contrast

On white

3.40
#AA7BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#AA7BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7BB2
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7BB2#FFFFFF#000000##000000
##AA7BB21.003.406.196.19
#FFFFFF3.401.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7588B4
Deuteranopia (green-blind)
#808DB0
Tritanopia (blue-blind)
#AC818F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #aa7bb2;
/* rgb */ color: rgb(170, 123, 178);
/* oklch */ color: oklch(64.9% 0.096 321.5);
Tailwind
colors: {
  custom: {
    50: '#c4a1c9',
    500: '#aa7bb2',
    950: '#000000',
  },
}
SCSS
$custom: #aa7bb2;
$custom-light: #c4a1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7bb2",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 291.273,
    "s": 26.316,
    "l": 59.02
  },
  "oklch": {
    "l": 0.6487,
    "c": 0.09589,
    "h": 321.5
  },
  "luminance": 0.25926
}

Semantic roles & 50–950 ramp

primary
#AA7BB2
secondary
#BDCFBA
accent
#C36573
background
#FCFAFC
surface
#F8F3F8
border
#D1CDD1
text
#130F13
muted
#827F82

Preview Lab

Preview with #AA7BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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