#871789#871789

#871789 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.190 H 327.4°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#871789
RGBrgb(135, 23, 137)
HSLhsl(299, 71%, 31%)
HSVhsv(299, 83%, 54%)
CMYKcmyk(1.5%, 83.2%, 0%, 46.3%)
CIE-LABlab(33.07, 57.55, -36.78)
CIE-LCHlch(33.07, 68.30, 327.42°)
OKLaboklab(44.84% 0.1597 -0.1022)
OKLCHoklch(44.84% 0.19 327.4)
XYZxyz(14.8132, 7.5709, 24.3432)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871789 #198917
analogous
#4E1789 #871789 #891752
triadic
#871789 #898717 #178987
tetradic
#871789 #894E17 #198917 #175289
square
#871789 #894E17 #198917 #175289
split-complementary
#871789 #528917 #17894E
monochromatic
#200520 #530E55 #871789 #BB20BD #DB3CDE

Accessibility & contrast

On white

8.35
#871789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#871789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871789
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871789#FFFFFF#000000##FFFFFF
##8717891.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#385386
Tritanopia (blue-blind)
#8B2D51
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #871789;
/* rgb */ color: rgb(135, 23, 137);
/* oklch */ color: oklch(44.8% 0.190 327.4);
Tailwind
colors: {
  custom: {
    50: '#ae65ac',
    500: '#871789',
    950: '#000000',
  },
}
SCSS
$custom: #871789;
$custom-light: #ae65ac;
$custom-dark: #000000;
JSON
{
  "hex": "#871789",
  "rgb": {
    "r": 135,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 298.947,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44835,
    "c": 0.18959,
    "h": 327.4
  },
  "luminance": 0.0757
}

Semantic roles & 50–950 ramp

primary
#871789
secondary
#41BD3F
accent
#EE3A3D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #871789

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

Preview Lab → · Contrast checker → · Palette generator →

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