#A87AAA#A87AAA

#A87AAA is a light, moderate purple. Relative luminance 0.251; OKLCH L 64.2% C 0.088 H 325.2°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A87AAA
RGBrgb(168, 122, 170)
HSLhsl(298, 22%, 57%)
HSVhsv(298, 28%, 67%)
CMYKcmyk(1.2%, 28.2%, 0%, 33.3%)
CIE-LABlab(57.22, 26.20, -18.51)
CIE-LCHlch(57.22, 32.08, 324.76°)
OKLaboklab(64.15% 0.0719 -0.0501)
OKLCHoklch(64.15% 0.088 325.2)
XYZxyz(30.3629, 25.1471, 41.2769)
Luminance0.2515 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87AAA #7CAA7A
analogous
#907AAA #A87AAA #AA7A94
triadic
#A87AAA #AAA87A #7AAAA8
tetradic
#A87AAA #AA907A #7CAA7A #7A94AA
square
#A87AAA #AA907A #7CAA7A #7A94AA
split-complementary
#A87AAA #94AA7A #7AAA90
monochromatic
#664267 #8B5A8D #A87AAA #C09FC2 #D9C5DA

Accessibility & contrast

On white

3.48
#A87AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#A87AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87AAA
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87AAA#FFFFFF#000000##000000
##A87AAA1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7686AC
Deuteranopia (green-blind)
#818BA8
Tritanopia (blue-blind)
#AB7E8B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a87aaa;
/* rgb */ color: rgb(168, 122, 170);
/* oklch */ color: oklch(64.2% 0.088 325.2);
Tailwind
colors: {
  custom: {
    50: '#c2a1c3',
    500: '#a87aaa',
    950: '#000000',
  },
}
SCSS
$custom: #a87aaa;
$custom-light: #c2a1c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a87aaa",
  "rgb": {
    "r": 168,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 297.5,
    "s": 22.018,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64152,
    "c": 0.08765,
    "h": 325.2
  },
  "luminance": 0.25146
}

Semantic roles & 50–950 ramp

primary
#A87AAA
secondary
#B7CAB6
accent
#BF696D
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#120F12
muted
#817E81

Preview Lab

Preview with #A87AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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