#872586#872586

#872586 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.7% C 0.173 H 328.4°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#872586
RGBrgb(135, 37, 134)
HSLhsl(301, 57%, 34%)
HSVhsv(301, 73%, 53%)
CMYKcmyk(0%, 72.6%, 0.7%, 47.1%)
CIE-LABlab(34.39, 52.75, -32.83)
CIE-LCHlch(34.39, 62.13, 328.10°)
OKLaboklab(45.72% 0.1476 -0.0908)
OKLCHoklch(45.72% 0.173 328.4)
XYZxyz(14.9561, 8.1963, 23.3440)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872586 #258726
analogous
#572587 #872586 #872555
triadic
#872586 #868725 #258687
tetradic
#872586 #875725 #258726 #255587
square
#872586 #875725 #258726 #255587
split-complementary
#872586 #558725 #258757
monochromatic
#270B27 #571856 #872586 #B732B6 #D156CF

Accessibility & contrast

On white

7.96
#872586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#872586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872586
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872586#FFFFFF#000000##FFFFFF
##8725861.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154989
Deuteranopia (green-blind)
#405584
Tritanopia (blue-blind)
#8B3353
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #872586;
/* rgb */ color: rgb(135, 37, 134);
/* oklch */ color: oklch(45.7% 0.173 328.4);
Tailwind
colors: {
  custom: {
    50: '#ad6aa9',
    500: '#872586',
    950: '#000000',
  },
}
SCSS
$custom: #872586;
$custom-light: #ad6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#872586",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 300.612,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45715,
    "c": 0.17331,
    "h": 328.4
  },
  "luminance": 0.08195
}

Semantic roles & 50–950 ramp

primary
#872586
secondary
#53B554
accent
#E04948
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #872586

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

Preview Lab → · Contrast checker → · Palette generator →

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