#AA7BBC#AA7BBC

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

Color values

HEX#AA7BBC
RGBrgb(170, 123, 188)
HSLhsl(283, 33%, 61%)
HSVhsv(283, 35%, 74%)
CMYKcmyk(9.6%, 34.6%, 0%, 26.3%)
CIE-LABlab(58.36, 29.96, -27.04)
CIE-LCHlch(58.36, 40.36, 317.93°)
OKLaboklab(65.3% 0.0777 -0.0741)
OKLCHoklch(65.3% 0.107 316.4)
XYZxyz(32.7363, 26.3435, 50.9275)
Luminance0.2634 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7BBC #8DBC7B
analogous
#897BBC #AA7BBC #BC7BAD
triadic
#AA7BBC #BCAA7B #7BBCAA
tetradic
#AA7BBC #BC897B #8DBC7B #7BADBC
square
#AA7BBC #BC897B #8DBC7B #7BADBC
split-complementary
#AA7BBC #ADBC7B #7BBC89
monochromatic
#6C3F7D #8F54A6 #AA7BBC #C4A4D1 #DECCE5

Accessibility & contrast

On white

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

On black

6.27
#AA7BBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7BBC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7BBC#FFFFFF#000000##000000
##AA7BBC1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7189BE
Deuteranopia (green-blind)
#7D8EBA
Tritanopia (blue-blind)
#AA8393
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa7bbc;
/* rgb */ color: rgb(170, 123, 188);
/* oklch */ color: oklch(65.3% 0.107 316.4);
Tailwind
colors: {
  custom: {
    50: '#c4a2d0',
    500: '#aa7bbc',
    950: '#000000',
  },
}
SCSS
$custom: #aa7bbc;
$custom-light: #c4a2d0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7bbc",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 188
  },
  "hsl": {
    "h": 283.385,
    "s": 32.663,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65299,
    "c": 0.10738,
    "h": 316.4
  },
  "luminance": 0.26343
}

Semantic roles & 50–950 ramp

primary
#AA7BBC
secondary
#C4D6BD
accent
#AB3A59
background
#FCFAFC
surface
#F8F3F9
border
#D1CDD2
text
#130F14
muted
#827F82

Preview Lab

Preview with #AA7BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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