#A871BF#A871BF

#A871BF is a light, vivid purple. Relative luminance 0.239; OKLCH L 63.5% C 0.128 H 315.5°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A871BF
RGBrgb(168, 113, 191)
HSLhsl(282, 38%, 60%)
HSVhsv(282, 41%, 75%)
CMYKcmyk(12%, 40.8%, 0%, 25.1%)
CIE-LABlab(55.98, 35.57, -32.45)
CIE-LCHlch(55.98, 48.15, 317.63°)
OKLaboklab(63.5% 0.091 -0.0895)
OKLCHoklch(63.5% 0.128 315.5)
XYZxyz(31.4561, 23.8974, 52.2357)
Luminance0.2390 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A871BF #88BF71
analogous
#8171BF #A871BF #BF71AF
triadic
#A871BF #BFA871 #71BFA8
tetradic
#A871BF #BF8171 #88BF71 #71AFBF
square
#A871BF #BF8171 #88BF71 #71AFBF
split-complementary
#A871BF #AFBF71 #71BF81
monochromatic
#69387D #8C4BA7 #A871BF #C29BD2 #DCC5E5

Accessibility & contrast

On white

3.63
#A871BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#A871BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A871BF
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A871BF#FFFFFF#000000##000000
##A871BF1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6483C2
Deuteranopia (green-blind)
#7288BD
Tritanopia (blue-blind)
#A77C8F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a871bf;
/* rgb */ color: rgb(168, 113, 191);
/* oklch */ color: oklch(63.5% 0.128 315.5);
Tailwind
colors: {
  custom: {
    50: '#c39bd2',
    500: '#a871bf',
    950: '#000000',
  },
}
SCSS
$custom: #a871bf;
$custom-light: #c39bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a871bf",
  "rgb": {
    "r": 168,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 282.308,
    "s": 37.864,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63497,
    "c": 0.12766,
    "h": 315.5
  },
  "luminance": 0.23897
}

Semantic roles & 50–950 ramp

primary
#A871BF
secondary
#C0D5B7
accent
#CE5A7C
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #A871BF

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

Preview Lab → · Contrast checker → · Palette generator →

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