#873FA3#873FA3

#873FA3 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.4% C 0.165 H 315.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#873FA3
RGBrgb(135, 63, 163)
HSLhsl(283, 44%, 44%)
HSVhsv(283, 61%, 64%)
CMYKcmyk(17.2%, 61.3%, 0%, 36.1%)
CIE-LABlab(40.17, 47.04, -41.29)
CIE-LCHlch(40.17, 62.59, 318.73°)
OKLaboklab(50.43% 0.1172 -0.1157)
OKLCHoklch(50.43% 0.165 315.4)
XYZxyz(18.3790, 11.3509, 35.8660)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873FA3 #5BA33F
analogous
#553FA3 #873FA3 #A33F8D
triadic
#873FA3 #A3873F #3FA387
tetradic
#873FA3 #A3553F #5BA33F #3F8DA3
square
#873FA3 #A3553F #5BA33F #3F8DA3
split-complementary
#873FA3 #8DA33F #3FA355
monochromatic
#3E1D4B #622E77 #873FA3 #A55EC1 #BE8AD2

Accessibility & contrast

On white

6.42
#873FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#873FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873FA3
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873FA3#FFFFFF#000000##FFFFFF
##873FA31.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205AA6
Deuteranopia (green-blind)
#3E61A1
Tritanopia (blue-blind)
#85516B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #873fa3;
/* rgb */ color: rgb(135, 63, 163);
/* oklch */ color: oklch(50.4% 0.165 315.4);
Tailwind
colors: {
  custom: {
    50: '#ad78bf',
    500: '#873fa3',
    950: '#000000',
  },
}
SCSS
$custom: #873fa3;
$custom-light: #ad78bf;
$custom-dark: #000000;
JSON
{
  "hex": "#873fa3",
  "rgb": {
    "r": 135,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 283.2,
    "s": 44.248,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50433,
    "c": 0.16465,
    "h": 315.4
  },
  "luminance": 0.1135
}

Semantic roles & 50–950 ramp

primary
#873FA3
secondary
#92BD81
accent
#D45478
background
#FAF7FB
surface
#F5EDF7
border
#CFC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #873FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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