#A871BB#A871BB

#A871BB is a light, vivid purple. Relative luminance 0.237; OKLCH L 63.3% C 0.123 H 317.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#A871BB
RGBrgb(168, 113, 187)
HSLhsl(285, 35%, 59%)
HSVhsv(285, 40%, 73%)
CMYKcmyk(10.2%, 39.6%, 0%, 26.7%)
CIE-LABlab(55.81, 34.73, -30.44)
CIE-LCHlch(55.81, 46.18, 318.77°)
OKLaboklab(63.31% 0.0901 -0.0838)
OKLCHoklch(63.31% 0.123 317.1)
XYZxyz(31.0219, 23.7238, 49.9491)
Luminance0.2372 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A871BB #84BB71
analogous
#8371BB #A871BB #BB71A9
triadic
#A871BB #BBA871 #71BBA8
tetradic
#A871BB #BB8371 #84BB71 #71A9BB
square
#A871BB #BB8371 #84BB71 #71A9BB
split-complementary
#A871BB #A9BB71 #71BB83
monochromatic
#683A78 #8C4DA1 #A871BB #C19ACF #DBC4E3

Accessibility & contrast

On white

3.66
#A871BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#A871BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A871BB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A871BB#FFFFFF#000000##000000
##A871BB1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6682BE
Deuteranopia (green-blind)
#7388B9
Tritanopia (blue-blind)
#A87B8D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a871bb;
/* rgb */ color: rgb(168, 113, 187);
/* oklch */ color: oklch(63.3% 0.123 317.1);
Tailwind
colors: {
  custom: {
    50: '#c39bcf',
    500: '#a871bb',
    950: '#000000',
  },
}
SCSS
$custom: #a871bb;
$custom-light: #c39bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#a871bb",
  "rgb": {
    "r": 168,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 284.595,
    "s": 35.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63308,
    "c": 0.12306,
    "h": 317.1
  },
  "luminance": 0.23723
}

Semantic roles & 50–950 ramp

primary
#A871BB
secondary
#BDD2B5
accent
#CB5D79
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #A871BB

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

Preview Lab → · Contrast checker → · Palette generator →

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