#872585#872585

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

Color values

HEX#872585
RGBrgb(135, 37, 133)
HSLhsl(301, 57%, 34%)
HSVhsv(301, 73%, 53%)
CMYKcmyk(0%, 72.6%, 1.5%, 47.1%)
CIE-LABlab(34.33, 52.57, -32.30)
CIE-LCHlch(34.33, 61.70, 328.44°)
OKLaboklab(45.66% 0.1476 -0.0893)
OKLCHoklch(45.66% 0.172 328.8)
XYZxyz(14.8867, 8.1686, 22.9784)
Luminance0.0817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872585 #258727
analogous
#582587 #872585 #872554
triadic
#872585 #858725 #258587
tetradic
#872585 #875825 #258727 #255487
square
#872585 #875825 #258727 #255487
split-complementary
#872585 #548725 #258758
monochromatic
#270B26 #571856 #872585 #B732B4 #D156CE

Accessibility & contrast

On white

7.97
#872585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#872585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872585
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872585#FFFFFF#000000##FFFFFF
##8725851.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174888
Deuteranopia (green-blind)
#405583
Tritanopia (blue-blind)
#8C3352
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #872585;
/* rgb */ color: rgb(135, 37, 133);
/* oklch */ color: oklch(45.7% 0.172 328.8);
Tailwind
colors: {
  custom: {
    50: '#ad6aa9',
    500: '#872585',
    950: '#000000',
  },
}
SCSS
$custom: #872585;
$custom-light: #ad6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#872585",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 301.224,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45656,
    "c": 0.17249,
    "h": 328.8
  },
  "luminance": 0.08167
}

Semantic roles & 50–950 ramp

primary
#872585
secondary
#53B555
accent
#E04B48
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #872585

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

Preview Lab → · Contrast checker → · Palette generator →

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