#871890#871890

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

Color values

HEX#871890
RGBrgb(135, 24, 144)
HSLhsl(296, 71%, 33%)
HSVhsv(296, 83%, 56%)
CMYKcmyk(6.2%, 83.3%, 0%, 43.5%)
CIE-LABlab(33.60, 58.49, -40.25)
CIE-LCHlch(33.60, 71.01, 325.47°)
OKLaboklab(45.35% 0.1584 -0.1124)
OKLCHoklch(45.35% 0.194 324.6)
XYZxyz(15.3520, 7.8188, 27.0807)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871890 #219018
analogous
#4B1890 #871890 #90185D
triadic
#871890 #908718 #189087
tetradic
#871890 #904B18 #219018 #185D90
square
#871890 #904B18 #219018 #185D90
split-complementary
#871890 #5D9018 #18904B
monochromatic
#250727 #560F5C #871890 #B821C4 #D443E0

Accessibility & contrast

On white

8.19
#871890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#871890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871890
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871890#FFFFFF#000000##FFFFFF
##8718901.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871890;
/* rgb */ color: rgb(135, 24, 144);
/* oklch */ color: oklch(45.4% 0.194 324.6);
Tailwind
colors: {
  custom: {
    50: '#ae65b1',
    500: '#871890',
    950: '#000000',
  },
}
SCSS
$custom: #871890;
$custom-light: #ae65b1;
$custom-dark: #000000;
JSON
{
  "hex": "#871890",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 295.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45351,
    "c": 0.1942,
    "h": 324.6
  },
  "luminance": 0.07818
}

Semantic roles & 50–950 ramp

primary
#871890
secondary
#4DC043
accent
#EE3A47
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110611
muted
#807A80

Preview Lab

Preview with #871890

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

Preview Lab → · Contrast checker → · Palette generator →

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