#871889#871889

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

Color values

HEX#871889
RGBrgb(135, 24, 137)
HSLhsl(299, 70%, 32%)
HSVhsv(299, 82%, 54%)
CMYKcmyk(1.5%, 82.5%, 0%, 46.3%)
CIE-LABlab(33.16, 57.30, -36.64)
CIE-LCHlch(33.16, 68.01, 327.40°)
OKLaboklab(44.9% 0.159 -0.1018)
OKLCHoklch(44.9% 0.189 327.4)
XYZxyz(14.8334, 7.6114, 24.3499)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871889 #1A8918
analogous
#4F1889 #871889 #891853
triadic
#871889 #898718 #188987
tetradic
#871889 #894F18 #1A8918 #185389
square
#871889 #894F18 #1A8918 #185389
split-complementary
#871889 #538918 #18894F
monochromatic
#200621 #540F55 #871889 #BA21BD #DA3EDD

Accessibility & contrast

On white

8.33
#871889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#871889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871889
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871889#FFFFFF#000000##FFFFFF
##8718891.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871889;
/* rgb */ color: rgb(135, 24, 137);
/* oklch */ color: oklch(44.9% 0.189 327.4);
Tailwind
colors: {
  custom: {
    50: '#ae65ac',
    500: '#871889',
    950: '#000000',
  },
}
SCSS
$custom: #871889;
$custom-light: #ae65ac;
$custom-dark: #000000;
JSON
{
  "hex": "#871889",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 298.938,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44896,
    "c": 0.18878,
    "h": 327.4
  },
  "luminance": 0.0761
}

Semantic roles & 50–950 ramp

primary
#871889
secondary
#42BD40
accent
#ED3B3E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #871889

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

Preview Lab → · Contrast checker → · Palette generator →

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