#871B90#871B90

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

Color values

HEX#871B90
RGBrgb(135, 27, 144)
HSLhsl(295, 68%, 34%)
HSVhsv(295, 81%, 56%)
CMYKcmyk(6.2%, 81.3%, 0%, 43.5%)
CIE-LABlab(33.88, 57.70, -39.81)
CIE-LCHlch(33.88, 70.10, 325.39°)
OKLaboklab(45.55% 0.1562 -0.1111)
OKLCHoklch(45.55% 0.192 324.6)
XYZxyz(15.4172, 7.9494, 27.1025)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B90 #24901B
analogous
#4C1B90 #871B90 #901B5E
triadic
#871B90 #90871B #1B9087
tetradic
#871B90 #904C1B #24901B #1B5E90
square
#871B90 #904C1B #24901B #1B5E90
split-complementary
#871B90 #5E901B #1B904C
monochromatic
#260829 #57115C #871B90 #B725C4 #D149DD

Accessibility & contrast

On white

8.11
#871B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#871B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B90
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B90#FFFFFF#000000##FFFFFF
##871B901.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#34548D
Tritanopia (blue-blind)
#8A3256
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #871b90;
/* rgb */ color: rgb(135, 27, 144);
/* oklch */ color: oklch(45.5% 0.192 324.6);
Tailwind
colors: {
  custom: {
    50: '#ae66b1',
    500: '#871b90',
    950: '#000000',
  },
}
SCSS
$custom: #871b90;
$custom-light: #ae66b1;
$custom-dark: #000000;
JSON
{
  "hex": "#871b90",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 144
  },
  "hsl": {
    "h": 295.385,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45545,
    "c": 0.19168,
    "h": 324.6
  },
  "luminance": 0.07948
}

Semantic roles & 50–950 ramp

primary
#871B90
secondary
#51BF48
accent
#EB3D4A
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110711
muted
#807A80

Preview Lab

Preview with #871B90

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

Preview Lab → · Contrast checker → · Palette generator →

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