#871689#871689

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

Color values

HEX#871689
RGBrgb(135, 22, 137)
HSLhsl(299, 72%, 31%)
HSVhsv(299, 84%, 54%)
CMYKcmyk(1.5%, 83.9%, 0%, 46.3%)
CIE-LABlab(32.99, 57.80, -36.91)
CIE-LCHlch(32.99, 68.58, 327.44°)
OKLaboklab(44.78% 0.1604 -0.1026)
OKLCHoklch(44.78% 0.19 327.4)
XYZxyz(14.7937, 7.5320, 24.3367)
Luminance0.0753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871689 #188916
analogous
#4D1689 #871689 #891651
triadic
#871689 #898716 #168987
tetradic
#871689 #894D16 #188916 #165189
square
#871689 #894D16 #188916 #165189
split-complementary
#871689 #518916 #16894D
monochromatic
#1F0520 #530E54 #871689 #BB1EBE #DC3ADF

Accessibility & contrast

On white

8.38
#871689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871689
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871689#FFFFFF#000000##FFFFFF
##8716891.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871689;
/* rgb */ color: rgb(135, 22, 137);
/* oklch */ color: oklch(44.8% 0.190 327.4);
Tailwind
colors: {
  custom: {
    50: '#ae64ac',
    500: '#871689',
    950: '#000000',
  },
}
SCSS
$custom: #871689;
$custom-light: #ae64ac;
$custom-dark: #000000;
JSON
{
  "hex": "#871689",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 298.957,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44775,
    "c": 0.19038,
    "h": 327.4
  },
  "luminance": 0.07531
}

Semantic roles & 50–950 ramp

primary
#871689
secondary
#40BD3E
accent
#EF393C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #871689

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

Preview Lab → · Contrast checker → · Palette generator →

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