#873087#873087

#873087 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 46.9% C 0.160 H 327.8°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#873087
RGBrgb(135, 48, 135)
HSLhsl(300, 48%, 36%)
HSVhsv(300, 64%, 53%)
CMYKcmyk(0%, 64.4%, 0%, 47.1%)
CIE-LABlab(36.01, 48.51, -30.87)
CIE-LCHlch(36.01, 57.50, 327.53°)
OKLaboklab(46.91% 0.1352 -0.0853)
OKLCHoklch(46.91% 0.16 327.8)
XYZxyz(15.4216, 9.0151, 23.8448)
Luminance0.0901 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873087 #308730
analogous
#5B3087 #873087 #87305B
triadic
#873087 #878730 #308787
tetradic
#873087 #875B30 #308730 #305B87
square
#873087 #875B30 #308730 #305B87
split-complementary
#873087 #5B8730 #30875B
monochromatic
#2D102D #5A205A #873087 #B440B4 #C968C9

Accessibility & contrast

On white

7.49
#873087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#873087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #873087
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873087#FFFFFF#000000##FFFFFF
##8730871.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254D8A
Deuteranopia (green-blind)
#455985
Tritanopia (blue-blind)
#8B3B57
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #873087;
/* rgb */ color: rgb(135, 48, 135);
/* oklch */ color: oklch(46.9% 0.160 327.8);
Tailwind
colors: {
  custom: {
    50: '#ad6faa',
    500: '#873087',
    950: '#000000',
  },
}
SCSS
$custom: #873087;
$custom-light: #ad6faa;
$custom-dark: #000000;
JSON
{
  "hex": "#873087",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 135
  },
  "hsl": {
    "h": 300,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46905,
    "c": 0.1598,
    "h": 327.8
  },
  "luminance": 0.09014
}

Semantic roles & 50–950 ramp

primary
#873087
secondary
#62B162
accent
#D75151
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #873087

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

Preview Lab → · Contrast checker → · Palette generator →

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