#AA7CBC#AA7CBC

#AA7CBC is a light, moderate purple. Relative luminance 0.266; OKLCH L 65.5% C 0.106 H 316.2°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#AA7CBC
RGBrgb(170, 124, 188)
HSLhsl(283, 32%, 61%)
HSVhsv(283, 34%, 74%)
CMYKcmyk(9.6%, 34%, 0%, 26.3%)
CIE-LABlab(58.60, 29.39, -26.68)
CIE-LCHlch(58.60, 39.70, 317.77°)
OKLaboklab(65.48% 0.0762 -0.0731)
OKLCHoklch(65.48% 0.106 316.2)
XYZxyz(32.8610, 26.5929, 50.9691)
Luminance0.2659 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7CBC #8EBC7C
analogous
#8A7CBC #AA7CBC #BC7CAE
triadic
#AA7CBC #BCAA7C #7CBCAA
tetradic
#AA7CBC #BC8A7C #8EBC7C #7CAEBC
square
#AA7CBC #BC8A7C #8EBC7C #7CAEBC
split-complementary
#AA7CBC #AEBC7C #7CBC8A
monochromatic
#6C407D #8F55A6 #AA7CBC #C4A4D1 #DFCDE5

Accessibility & contrast

On white

3.32
#AA7CBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#AA7CBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7CBC
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7CBC#FFFFFF#000000##000000
##AA7CBC1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#738ABE
Deuteranopia (green-blind)
#7D8EBA
Tritanopia (blue-blind)
#A98494
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #aa7cbc;
/* rgb */ color: rgb(170, 124, 188);
/* oklch */ color: oklch(65.5% 0.106 316.2);
Tailwind
colors: {
  custom: {
    50: '#c4a2d0',
    500: '#aa7cbc',
    950: '#000000',
  },
}
SCSS
$custom: #aa7cbc;
$custom-light: #c4a2d0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7cbc",
  "rgb": {
    "r": 170,
    "g": 124,
    "b": 188
  },
  "hsl": {
    "h": 283.125,
    "s": 32.323,
    "l": 61.176
  },
  "oklch": {
    "l": 0.65476,
    "c": 0.10559,
    "h": 316.2
  },
  "luminance": 0.26592
}

Semantic roles & 50–950 ramp

primary
#AA7CBC
secondary
#C5D6BE
accent
#AB3A5A
background
#FCFAFC
surface
#F8F3F9
border
#D1CDD2
text
#130F14
muted
#827F82

Preview Lab

Preview with #AA7CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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