#872991#872991

#872991 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.8% C 0.178 H 323.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#872991
RGBrgb(135, 41, 145)
HSLhsl(294, 56%, 36%)
HSVhsv(294, 72%, 57%)
CMYKcmyk(6.9%, 71.7%, 0%, 43.1%)
CIE-LABlab(35.56, 53.22, -37.74)
CIE-LCHlch(35.56, 65.25, 324.66°)
OKLaboklab(46.76% 0.1434 -0.1051)
OKLCHoklch(46.76% 0.178 323.7)
XYZxyz(15.8950, 8.7821, 27.6405)
Luminance0.0878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872991 #339129
analogous
#532991 #872991 #912967
triadic
#872991 #918729 #299187
tetradic
#872991 #915329 #339129 #296791
square
#872991 #915329 #339129 #296791
split-complementary
#872991 #679129 #299153
monochromatic
#2E0E32 #5B1C61 #872991 #B336C1 #C862D3

Accessibility & contrast

On white

7.62
#872991 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#872991 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872991
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872991#FFFFFF#000000##FFFFFF
##8729911.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074D94
Deuteranopia (green-blind)
#3B578E
Tritanopia (blue-blind)
#893B5A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #872991;
/* rgb */ color: rgb(135, 41, 145);
/* oklch */ color: oklch(46.8% 0.178 323.7);
Tailwind
colors: {
  custom: {
    50: '#ad6cb2',
    500: '#872991',
    950: '#000000',
  },
}
SCSS
$custom: #872991;
$custom-light: #ad6cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#872991",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 145
  },
  "hsl": {
    "h": 294.231,
    "s": 55.914,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46764,
    "c": 0.17779,
    "h": 323.7
  },
  "luminance": 0.08781
}

Semantic roles & 50–950 ramp

primary
#872991
secondary
#66B85D
accent
#DF4957
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872991

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

Preview Lab → · Contrast checker → · Palette generator →

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