#A87ABA#A87ABA

#A87ABA is a light, moderate purple. Relative luminance 0.258; OKLCH L 64.8% C 0.106 H 316.2°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A87ABA
RGBrgb(168, 122, 186)
HSLhsl(283, 32%, 60%)
HSVhsv(283, 34%, 73%)
CMYKcmyk(9.7%, 34.4%, 0%, 27.1%)
CIE-LABlab(57.84, 29.46, -26.73)
CIE-LCHlch(57.84, 39.78, 317.79°)
OKLaboklab(64.83% 0.0764 -0.0732)
OKLCHoklch(64.83% 0.106 316.2)
XYZxyz(31.9696, 25.7898, 49.7387)
Luminance0.2579 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87ABA #8CBA7A
analogous
#887ABA #A87ABA #BA7AAC
triadic
#A87ABA #BAA87A #7ABAA8
tetradic
#A87ABA #BA887A #8CBA7A #7AACBA
square
#A87ABA #BA887A #8CBA7A #7AACBA
split-complementary
#A87ABA #ACBA7A #7ABA88
monochromatic
#6A3F7A #8D54A2 #A87ABA #C2A2CF #DDCBE4

Accessibility & contrast

On white

3.41
#A87ABA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#A87ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87ABA
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87ABA#FFFFFF#000000##000000
##A87ABA1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7188BC
Deuteranopia (green-blind)
#7B8CB8
Tritanopia (blue-blind)
#A78292
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a87aba;
/* rgb */ color: rgb(168, 122, 186);
/* oklch */ color: oklch(64.8% 0.106 316.2);
Tailwind
colors: {
  custom: {
    50: '#c2a1cf',
    500: '#a87aba',
    950: '#000000',
  },
}
SCSS
$custom: #a87aba;
$custom-light: #c2a1cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a87aba",
  "rgb": {
    "r": 168,
    "g": 122,
    "b": 186
  },
  "hsl": {
    "h": 283.125,
    "s": 31.683,
    "l": 60.392
  },
  "oklch": {
    "l": 0.64826,
    "c": 0.10581,
    "h": 316.2
  },
  "luminance": 0.25789
}

Semantic roles & 50–950 ramp

primary
#A87ABA
secondary
#C3D4BC
accent
#AA3B5A
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#120F13
muted
#817E82

Preview Lab

Preview with #A87ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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