#AA7FAC#AA7FAC

#AA7FAC is a light, moderate purple. Relative luminance 0.267; OKLCH L 65.4% C 0.082 H 325.0°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AA7FAC
RGBrgb(170, 127, 172)
HSLhsl(297, 21%, 59%)
HSVhsv(297, 26%, 67%)
CMYKcmyk(1.2%, 26.2%, 0%, 32.5%)
CIE-LABlab(58.70, 24.45, -17.38)
CIE-LCHlch(58.70, 30.00, 324.58°)
OKLaboklab(65.35% 0.0671 -0.0469)
OKLCHoklch(65.35% 0.082 325)
XYZxyz(31.6125, 26.7042, 42.5109)
Luminance0.2670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7FAC #81AC7F
analogous
#937FAC #AA7FAC #AC7F97
triadic
#AA7FAC #ACAA7F #7FACAA
tetradic
#AA7FAC #AC937F #81AC7F #7F97AC
square
#AA7FAC #AC937F #81AC7F #7F97AC
split-complementary
#AA7FAC #97AC7F #7FAC93
monochromatic
#69456B #8E5E90 #AA7FAC #C3A4C4 #DBC9DC

Accessibility & contrast

On white

3.31
#AA7FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#AA7FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7FAC
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7FAC#FFFFFF#000000##000000
##AA7FAC1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8AAE
Deuteranopia (green-blind)
#858FAA
Tritanopia (blue-blind)
#AC838F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #aa7fac;
/* rgb */ color: rgb(170, 127, 172);
/* oklch */ color: oklch(65.4% 0.082 325.0);
Tailwind
colors: {
  custom: {
    50: '#c4a4c4',
    500: '#aa7fac',
    950: '#000000',
  },
}
SCSS
$custom: #aa7fac;
$custom-light: #c4a4c4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7fac",
  "rgb": {
    "r": 170,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 297.333,
    "s": 21.327,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65355,
    "c": 0.08186,
    "h": 325
  },
  "luminance": 0.26703
}

Semantic roles & 50–950 ramp

primary
#AA7FAC
secondary
#BBCCBB
accent
#BE6A6E
background
#FCFAFC
surface
#F8F4F8
border
#D1CED1
text
#120F12
muted
#817F81

Preview Lab

Preview with #AA7FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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