#872891#872891

#872891 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.179 H 323.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#872891
RGBrgb(135, 40, 145)
HSLhsl(294, 57%, 36%)
HSVhsv(294, 72%, 57%)
CMYKcmyk(6.9%, 72.4%, 0%, 43.1%)
CIE-LABlab(35.43, 53.60, -37.95)
CIE-LCHlch(35.43, 65.68, 324.70°)
OKLaboklab(46.67% 0.1444 -0.1058)
OKLCHoklch(46.67% 0.179 323.8)
XYZxyz(15.8608, 8.7138, 27.6291)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872891 #329128
analogous
#532891 #872891 #912867
triadic
#872891 #918728 #289187
tetradic
#872891 #915328 #329128 #286791
square
#872891 #915328 #329128 #286791
split-complementary
#872891 #679128 #289153
monochromatic
#2E0E31 #5A1B61 #872891 #B435C1 #C860D3

Accessibility & contrast

On white

7.66
#872891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#872891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872891
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872891#FFFFFF#000000##FFFFFF
##8728911.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044C94
Deuteranopia (green-blind)
#3A578E
Tritanopia (blue-blind)
#893A5A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #872891;
/* rgb */ color: rgb(135, 40, 145);
/* oklch */ color: oklch(46.7% 0.179 323.8);
Tailwind
colors: {
  custom: {
    50: '#ad6cb2',
    500: '#872891',
    950: '#000000',
  },
}
SCSS
$custom: #872891;
$custom-light: #ad6cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#872891",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 294.286,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46668,
    "c": 0.179,
    "h": 323.8
  },
  "luminance": 0.08713
}

Semantic roles & 50–950 ramp

primary
#872891
secondary
#65B95C
accent
#E04856
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872891

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

Preview Lab → · Contrast checker → · Palette generator →

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