#AA7BBB#AA7BBB

#AA7BBB is a light, moderate purple. Relative luminance 0.263; OKLCH L 65.3% C 0.106 H 316.8°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AA7BBB
RGBrgb(170, 123, 187)
HSLhsl(284, 32%, 61%)
HSVhsv(284, 34%, 73%)
CMYKcmyk(9.1%, 34.2%, 0%, 26.7%)
CIE-LABlab(58.32, 29.75, -26.53)
CIE-LCHlch(58.32, 39.86, 318.27°)
OKLaboklab(65.26% 0.0775 -0.0727)
OKLCHoklch(65.26% 0.106 316.8)
XYZxyz(32.6289, 26.3006, 50.3618)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7BBB #8CBB7B
analogous
#8A7BBB #AA7BBB #BB7BAC
triadic
#AA7BBB #BBAA7B #7BBBAA
tetradic
#AA7BBB #BB8A7B #8CBB7B #7BACBB
square
#AA7BBB #BB8A7B #8CBB7B #7BACBB
split-complementary
#AA7BBB #ACBB7B #7BBB8A
monochromatic
#6C407C #8F55A4 #AA7BBB #C4A3D0 #DECCE5

Accessibility & contrast

On white

3.35
#AA7BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#AA7BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7BBB
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7BBB#FFFFFF#000000##000000
##AA7BBB1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7289BD
Deuteranopia (green-blind)
#7D8EB9
Tritanopia (blue-blind)
#AA8393
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa7bbb;
/* rgb */ color: rgb(170, 123, 187);
/* oklch */ color: oklch(65.3% 0.106 316.8);
Tailwind
colors: {
  custom: {
    50: '#c4a2cf',
    500: '#aa7bbb',
    950: '#000000',
  },
}
SCSS
$custom: #aa7bbb;
$custom-light: #c4a2cf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7bbb",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 187
  },
  "hsl": {
    "h": 284.063,
    "s": 32,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65255,
    "c": 0.10621,
    "h": 316.8
  },
  "luminance": 0.263
}

Semantic roles & 50–950 ramp

primary
#AA7BBB
secondary
#C3D5BD
accent
#AB3B59
background
#FCFAFC
surface
#F8F3F9
border
#D1CDD2
text
#130F14
muted
#827F82

Preview Lab

Preview with #AA7BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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