#872986#872986

#872986 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.1% C 0.168 H 328.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#872986
RGBrgb(135, 41, 134)
HSLhsl(301, 53%, 35%)
HSVhsv(301, 70%, 53%)
CMYKcmyk(0%, 69.6%, 0.7%, 47.1%)
CIE-LABlab(34.92, 51.24, -31.98)
CIE-LCHlch(34.92, 60.40, 328.03°)
OKLaboklab(46.1% 0.1433 -0.0884)
OKLCHoklch(46.1% 0.168 328.3)
XYZxyz(15.0875, 8.4591, 23.3877)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872986 #29872A
analogous
#592987 #872986 #872957
triadic
#872986 #868729 #298687
tetradic
#872986 #875929 #29872A #295787
square
#872986 #875929 #29872A #295787
split-complementary
#872986 #578729 #298759
monochromatic
#290C29 #581B57 #872986 #B637B5 #CE5DCD

Accessibility & contrast

On white

7.80
#872986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#872986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872986
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872986#FFFFFF#000000##FFFFFF
##8729861.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4A89
Deuteranopia (green-blind)
#425684
Tritanopia (blue-blind)
#8B3654
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #872986;
/* rgb */ color: rgb(135, 41, 134);
/* oklch */ color: oklch(46.1% 0.168 328.3);
Tailwind
colors: {
  custom: {
    50: '#ad6ca9',
    500: '#872986',
    950: '#000000',
  },
}
SCSS
$custom: #872986;
$custom-light: #ad6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#872986",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 300.638,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46098,
    "c": 0.1684,
    "h": 328.3
  },
  "luminance": 0.08458
}

Semantic roles & 50–950 ramp

primary
#872986
secondary
#59B35A
accent
#DD4D4B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #872986

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

Preview Lab → · Contrast checker → · Palette generator →

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