#873D99#873D99

#873D99 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.6% C 0.157 H 319.4°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#873D99
RGBrgb(135, 61, 153)
HSLhsl(288, 43%, 42%)
HSVhsv(288, 60%, 60%)
CMYKcmyk(11.8%, 60.1%, 0%, 40%)
CIE-LABlab(39.22, 45.93, -36.78)
CIE-LCHlch(39.22, 58.84, 321.31°)
OKLaboklab(49.56% 0.1195 -0.1025)
OKLCHoklch(49.56% 0.157 319.4)
XYZxyz(17.4095, 10.7890, 31.2963)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873D99 #4F993D
analogous
#593D99 #873D99 #993D7D
triadic
#873D99 #99873D #3D9987
tetradic
#873D99 #99593D #4F993D #3D7D99
square
#873D99 #99593D #4F993D #3D7D99
split-complementary
#873D99 #7D993D #3D9959
monochromatic
#3A1A41 #602C6D #873D99 #A857BC #BF83CE

Accessibility & contrast

On white

6.65
#873D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#873D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873D99
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873D99#FFFFFF#000000##FFFFFF
##873D991.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28579C
Deuteranopia (green-blind)
#435F97
Tritanopia (blue-blind)
#874C65
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #873d99;
/* rgb */ color: rgb(135, 61, 153);
/* oklch */ color: oklch(49.6% 0.157 319.4);
Tailwind
colors: {
  custom: {
    50: '#ac77b7',
    500: '#873d99',
    950: '#000000',
  },
}
SCSS
$custom: #873d99;
$custom-light: #ac77b7;
$custom-dark: #000000;
JSON
{
  "hex": "#873d99",
  "rgb": {
    "r": 135,
    "g": 61,
    "b": 153
  },
  "hsl": {
    "h": 288.261,
    "s": 42.991,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4956,
    "c": 0.15742,
    "h": 319.4
  },
  "luminance": 0.10788
}

Semantic roles & 50–950 ramp

primary
#873D99
secondary
#86B87A
accent
#D3556E
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #873D99

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

Preview Lab → · Contrast checker → · Palette generator →

#873D99 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva