#871A90#871A90

#871A90 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.5% C 0.193 H 324.6°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#871A90
RGBrgb(135, 26, 144)
HSLhsl(295, 69%, 33%)
HSVhsv(295, 82%, 56%)
CMYKcmyk(6.2%, 81.9%, 0%, 43.5%)
CIE-LABlab(33.78, 57.97, -39.97)
CIE-LCHlch(33.78, 70.41, 325.42°)
OKLaboklab(45.48% 0.1569 -0.1115)
OKLCHoklch(45.48% 0.193 324.6)
XYZxyz(15.3947, 7.9043, 27.0950)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A90 #23901A
analogous
#4C1A90 #871A90 #901A5E
triadic
#871A90 #90871A #1A9087
tetradic
#871A90 #904C1A #23901A #1A5E90
square
#871A90 #904C1A #23901A #1A5E90
split-complementary
#871A90 #5E901A #1A904C
monochromatic
#260728 #56115C #871A90 #B823C4 #D247DE

Accessibility & contrast

On white

8.14
#871A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#871A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A90
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A90#FFFFFF#000000##FFFFFF
##871A901.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#34548D
Tritanopia (blue-blind)
#8A3256
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #871a90;
/* rgb */ color: rgb(135, 26, 144);
/* oklch */ color: oklch(45.5% 0.193 324.6);
Tailwind
colors: {
  custom: {
    50: '#ae66b1',
    500: '#871a90',
    950: '#000000',
  },
}
SCSS
$custom: #871a90;
$custom-light: #ae66b1;
$custom-dark: #000000;
JSON
{
  "hex": "#871a90",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 295.424,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45479,
    "c": 0.19254,
    "h": 324.6
  },
  "luminance": 0.07903
}

Semantic roles & 50–950 ramp

primary
#871A90
secondary
#50BF47
accent
#EC3C49
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #871A90

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

Preview Lab → · Contrast checker → · Palette generator →

#871A90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva