#AA7FBC#AA7FBC

#AA7FBC is a light, moderate purple. Relative luminance 0.274; OKLCH L 66.0% C 0.100 H 315.7°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#AA7FBC
RGBrgb(170, 127, 188)
HSLhsl(282, 31%, 62%)
HSVhsv(282, 32%, 74%)
CMYKcmyk(9.6%, 32.4%, 0%, 26.3%)
CIE-LABlab(59.30, 27.70, -25.59)
CIE-LCHlch(59.30, 37.71, 317.27°)
OKLaboklab(66.01% 0.0717 -0.07)
OKLCHoklch(66.01% 0.1 315.7)
XYZxyz(33.2427, 27.3563, 51.0963)
Luminance0.2736 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7FBC #91BC7F
analogous
#8C7FBC #AA7FBC #BC7FB0
triadic
#AA7FBC #BCAA7F #7FBCAA
tetradic
#AA7FBC #BC8C7F #91BC7F #7FB0BC
square
#AA7FBC #BC8C7F #91BC7F #7FB0BC
split-complementary
#AA7FBC #B0BC7F #7FBC8C
monochromatic
#6D427E #8F57A7 #AA7FBC #C5A7D1 #DFCFE6

Accessibility & contrast

On white

3.25
#AA7FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#AA7FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7FBC
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7FBC#FFFFFF#000000##000000
##AA7FBC1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#768CBE
Deuteranopia (green-blind)
#8090BA
Tritanopia (blue-blind)
#A98695
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #aa7fbc;
/* rgb */ color: rgb(170, 127, 188);
/* oklch */ color: oklch(66.0% 0.100 315.7);
Tailwind
colors: {
  custom: {
    50: '#c4a4d0',
    500: '#aa7fbc',
    950: '#000000',
  },
}
SCSS
$custom: #aa7fbc;
$custom-light: #c4a4d0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7fbc",
  "rgb": {
    "r": 170,
    "g": 127,
    "b": 188
  },
  "hsl": {
    "h": 282.295,
    "s": 31.282,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66014,
    "c": 0.10018,
    "h": 315.7
  },
  "luminance": 0.27356
}

Semantic roles & 50–950 ramp

primary
#AA7FBC
secondary
#C7D7C0
accent
#AA3B5C
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#130F14
muted
#827F82

Preview Lab

Preview with #AA7FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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