#871390#871390

#871390 is a mid, vivid purple. Relative luminance 0.076; OKLCH L 45.1% C 0.198 H 324.7°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#871390
RGBrgb(135, 19, 144)
HSLhsl(296, 77%, 32%)
HSVhsv(296, 87%, 56%)
CMYKcmyk(6.2%, 86.8%, 0%, 43.5%)
CIE-LABlab(33.20, 59.66, -40.89)
CIE-LCHlch(33.20, 72.33, 325.57°)
OKLaboklab(45.07% 0.1616 -0.1142)
OKLCHoklch(45.07% 0.198 324.7)
XYZxyz(15.2582, 7.6313, 27.0495)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871390 #1C9013
analogous
#491390 #871390 #90135B
triadic
#871390 #908713 #139087
tetradic
#871390 #904913 #1C9013 #135B90
square
#871390 #904913 #1C9013 #135B90
split-complementary
#871390 #5B9013 #139049
monochromatic
#220524 #540C5A #871390 #BA1AC6 #D839E5

Accessibility & contrast

On white

8.31
#871390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#871390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871390
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871390#FFFFFF#000000##FFFFFF
##8713901.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#31538D
Tritanopia (blue-blind)
#8A2F55
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #871390;
/* rgb */ color: rgb(135, 19, 144);
/* oklch */ color: oklch(45.1% 0.198 324.7);
Tailwind
colors: {
  custom: {
    50: '#ae64b1',
    500: '#871390',
    950: '#000000',
  },
}
SCSS
$custom: #871390;
$custom-light: #ae64b1;
$custom-dark: #000000;
JSON
{
  "hex": "#871390",
  "rgb": {
    "r": 135,
    "g": 19,
    "b": 144
  },
  "hsl": {
    "h": 295.68,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45069,
    "c": 0.19789,
    "h": 324.7
  },
  "luminance": 0.0763
}

Semantic roles & 50–950 ramp

primary
#871390
secondary
#45C43B
accent
#F33542
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110611
muted
#807A80

Preview Lab

Preview with #871390

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

Preview Lab → · Contrast checker → · Palette generator →

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