#AA7FBD#AA7FBD

#AA7FBD is a light, moderate purple. Relative luminance 0.274; OKLCH L 66.1% C 0.101 H 315.2°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AA7FBD
RGBrgb(170, 127, 189)
HSLhsl(282, 32%, 62%)
HSVhsv(282, 33%, 74%)
CMYKcmyk(10.1%, 32.8%, 0%, 25.9%)
CIE-LABlab(59.34, 27.91, -26.09)
CIE-LCHlch(59.34, 38.21, 316.93°)
OKLaboklab(66.06% 0.0719 -0.0715)
OKLCHoklch(66.06% 0.101 315.2)
XYZxyz(33.3508, 27.3996, 51.6660)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7FBD #92BD7F
analogous
#8B7FBD #AA7FBD #BD7FB1
triadic
#AA7FBD #BDAA7F #7FBDAA
tetradic
#AA7FBD #BD8B7F #92BD7F #7FB1BD
square
#AA7FBD #BD8B7F #92BD7F #7FB1BD
split-complementary
#AA7FBD #B1BD7F #7FBD8B
monochromatic
#6D4280 #8F57A8 #AA7FBD #C5A7D2 #E0D0E7

Accessibility & contrast

On white

3.24
#AA7FBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#AA7FBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7FBD
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7FBD#FFFFFF#000000##000000
##AA7FBD1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#768CBF
Deuteranopia (green-blind)
#8090BB
Tritanopia (blue-blind)
#A98796
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #aa7fbd;
/* rgb */ color: rgb(170, 127, 189);
/* oklch */ color: oklch(66.1% 0.101 315.2);
Tailwind
colors: {
  custom: {
    50: '#c4a4d1',
    500: '#aa7fbd',
    950: '#000000',
  },
}
SCSS
$custom: #aa7fbd;
$custom-light: #c4a4d1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7fbd",
  "rgb": {
    "r": 170,
    "g": 127,
    "b": 189
  },
  "hsl": {
    "h": 281.613,
    "s": 31.959,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66057,
    "c": 0.10138,
    "h": 315.2
  },
  "luminance": 0.27399
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA7FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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