#AA7ABC#AA7ABC

#AA7ABC is a light, moderate purple. Relative luminance 0.261; OKLCH L 65.1% C 0.109 H 316.5°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AA7ABC
RGBrgb(170, 122, 188)
HSLhsl(284, 33%, 61%)
HSVhsv(284, 35%, 74%)
CMYKcmyk(9.6%, 35.1%, 0%, 26.3%)
CIE-LABlab(58.13, 30.52, -27.40)
CIE-LCHlch(58.13, 41.02, 318.09°)
OKLaboklab(65.12% 0.0792 -0.0751)
OKLCHoklch(65.12% 0.109 316.5)
XYZxyz(32.6129, 26.0967, 50.8864)
Luminance0.2610 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7ABC #8CBC7A
analogous
#897ABC #AA7ABC #BC7AAD
triadic
#AA7ABC #BCAA7A #7ABCAA
tetradic
#AA7ABC #BC897A #8CBC7A #7AADBC
square
#AA7ABC #BC897A #8CBC7A #7AADBC
split-complementary
#AA7ABC #ADBC7A #7ABC89
monochromatic
#6C3F7D #8F53A5 #AA7ABC #C4A3D1 #DECBE5

Accessibility & contrast

On white

3.38
#AA7ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#AA7ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7ABC
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7ABC#FFFFFF#000000##000000
##AA7ABC1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7089BF
Deuteranopia (green-blind)
#7C8DBA
Tritanopia (blue-blind)
#AA8292
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa7abc;
/* rgb */ color: rgb(170, 122, 188);
/* oklch */ color: oklch(65.1% 0.109 316.5);
Tailwind
colors: {
  custom: {
    50: '#c4a1d0',
    500: '#aa7abc',
    950: '#000000',
  },
}
SCSS
$custom: #aa7abc;
$custom-light: #c4a1d0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7abc",
  "rgb": {
    "r": 170,
    "g": 122,
    "b": 188
  },
  "hsl": {
    "h": 283.636,
    "s": 33,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65122,
    "c": 0.10919,
    "h": 316.5
  },
  "luminance": 0.26096
}

Semantic roles & 50–950 ramp

primary
#AA7ABC
secondary
#C3D5BC
accent
#AC3A59
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130F14
muted
#827E82

Preview Lab

Preview with #AA7ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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