#871990#871990

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

Color values

HEX#871990
RGBrgb(135, 25, 144)
HSLhsl(295, 70%, 33%)
HSVhsv(295, 83%, 56%)
CMYKcmyk(6.2%, 82.6%, 0%, 43.5%)
CIE-LABlab(33.69, 58.24, -40.11)
CIE-LCHlch(33.69, 70.71, 325.44°)
OKLaboklab(45.41% 0.1577 -0.112)
OKLCHoklch(45.41% 0.193 324.6)
XYZxyz(15.3729, 7.8608, 27.0877)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871990 #229019
analogous
#4B1990 #871990 #90195D
triadic
#871990 #908719 #199087
tetradic
#871990 #904B19 #229019 #195D90
square
#871990 #904B19 #229019 #195D90
split-complementary
#871990 #5D9019 #19904B
monochromatic
#250728 #56105C #871990 #B822C4 #D345DF

Accessibility & contrast

On white

8.16
#871990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#871990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871990
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871990#FFFFFF#000000##FFFFFF
##8719901.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871990;
/* rgb */ color: rgb(135, 25, 144);
/* oklch */ color: oklch(45.4% 0.193 324.6);
Tailwind
colors: {
  custom: {
    50: '#ae66b1',
    500: '#871990',
    950: '#000000',
  },
}
SCSS
$custom: #871990;
$custom-light: #ae66b1;
$custom-dark: #000000;
JSON
{
  "hex": "#871990",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 295.462,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45414,
    "c": 0.19338,
    "h": 324.6
  },
  "luminance": 0.0786
}

Semantic roles & 50–950 ramp

primary
#871990
secondary
#4EC045
accent
#ED3B48
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #871990

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

Preview Lab → · Contrast checker → · Palette generator →

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