#AA7CBB#AA7CBB

#AA7CBB is a light, moderate purple. Relative luminance 0.265; OKLCH L 65.4% C 0.104 H 316.7°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AA7CBB
RGBrgb(170, 124, 187)
HSLhsl(284, 32%, 61%)
HSVhsv(284, 34%, 73%)
CMYKcmyk(9.1%, 33.7%, 0%, 26.7%)
CIE-LABlab(58.56, 29.19, -26.17)
CIE-LCHlch(58.56, 39.20, 318.12°)
OKLaboklab(65.43% 0.0759 -0.0716)
OKLCHoklch(65.43% 0.104 316.7)
XYZxyz(32.7535, 26.5499, 50.4033)
Luminance0.2655 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7CBB #8DBB7C
analogous
#8A7CBB #AA7CBB #BB7CAC
triadic
#AA7CBB #BBAA7C #7CBBAA
tetradic
#AA7CBB #BB8A7C #8DBB7C #7CACBB
square
#AA7CBB #BB8A7C #8DBB7C #7CACBB
split-complementary
#AA7CBB #ACBB7C #7CBB8A
monochromatic
#6C407C #8F55A4 #AA7CBB #C4A4D0 #DECDE5

Accessibility & contrast

On white

3.33
#AA7CBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#AA7CBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7CBB
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7CBB#FFFFFF#000000##000000
##AA7CBB1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#738ABD
Deuteranopia (green-blind)
#7E8EB9
Tritanopia (blue-blind)
#AA8493
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #aa7cbb;
/* rgb */ color: rgb(170, 124, 187);
/* oklch */ color: oklch(65.4% 0.104 316.7);
Tailwind
colors: {
  custom: {
    50: '#c4a2cf',
    500: '#aa7cbb',
    950: '#000000',
  },
}
SCSS
$custom: #aa7cbb;
$custom-light: #c4a2cf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7cbb",
  "rgb": {
    "r": 170,
    "g": 124,
    "b": 187
  },
  "hsl": {
    "h": 283.81,
    "s": 31.658,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65433,
    "c": 0.10441,
    "h": 316.7
  },
  "luminance": 0.26549
}

Semantic roles & 50–950 ramp

primary
#AA7CBB
secondary
#C4D5BE
accent
#AA3B59
background
#FCFAFC
surface
#F8F3F9
border
#D1CDD2
text
#130F14
muted
#827F82

Preview Lab

Preview with #AA7CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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