#872591#872591

#872591 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.182 H 323.9°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#872591
RGBrgb(135, 37, 145)
HSLhsl(294, 59%, 36%)
HSVhsv(294, 74%, 57%)
CMYKcmyk(6.9%, 74.5%, 0%, 43.1%)
CIE-LABlab(35.04, 54.70, -38.57)
CIE-LCHlch(35.04, 66.93, 324.82°)
OKLaboklab(46.39% 0.1474 -0.1075)
OKLCHoklch(46.39% 0.182 323.9)
XYZxyz(15.7636, 8.5193, 27.5967)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872591 #2F9125
analogous
#512591 #872591 #912565
triadic
#872591 #918725 #259187
tetradic
#872591 #915125 #2F9125 #256591
square
#872591 #915125 #2F9125 #256591
split-complementary
#872591 #659125 #259151
monochromatic
#2C0C2F #5A1960 #872591 #B431C2 #CA5BD5

Accessibility & contrast

On white

7.77
#872591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#872591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872591
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872591#FFFFFF#000000##FFFFFF
##8725911.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#39568E
Tritanopia (blue-blind)
#893859
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #872591;
/* rgb */ color: rgb(135, 37, 145);
/* oklch */ color: oklch(46.4% 0.182 323.9);
Tailwind
colors: {
  custom: {
    50: '#ad6ab2',
    500: '#872591',
    950: '#000000',
  },
}
SCSS
$custom: #872591;
$custom-light: #ad6ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#872591",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 294.444,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46393,
    "c": 0.18247,
    "h": 323.9
  },
  "luminance": 0.08518
}

Semantic roles & 50–950 ramp

primary
#872591
secondary
#61BA58
accent
#E34554
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872591

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

Preview Lab → · Contrast checker → · Palette generator →

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