#873DAC#873DAC

#873DAC is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.7% C 0.177 H 312.5°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#873DAC
RGBrgb(135, 61, 172)
HSLhsl(280, 48%, 46%)
HSVhsv(280, 65%, 67%)
CMYKcmyk(21.5%, 64.5%, 0%, 32.5%)
CIE-LABlab(40.36, 49.98, -46.34)
CIE-LCHlch(40.36, 68.16, 317.16°)
OKLaboklab(50.75% 0.1196 -0.1304)
OKLCHoklch(50.75% 0.177 312.5)
XYZxyz(19.1055, 11.4675, 40.2287)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873DAC #62AC3D
analogous
#4F3DAC #873DAC #AC3D99
triadic
#873DAC #AC873D #3DAC87
tetradic
#873DAC #AC4F3D #62AC3D #3D99AC
square
#873DAC #AC4F3D #62AC3D #3D99AC
split-complementary
#873DAC #99AC3D #3DAC4F
monochromatic
#401D52 #642D7F #873DAC #A460C7 #BE8DD7

Accessibility & contrast

On white

6.38
#873DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#873DAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873DAC
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873DAC#FFFFFF#000000##FFFFFF
##873DAC1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055BAF
Deuteranopia (green-blind)
#3561A9
Tritanopia (blue-blind)
#83526F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #873dac;
/* rgb */ color: rgb(135, 61, 172);
/* oklch */ color: oklch(50.7% 0.177 312.5);
Tailwind
colors: {
  custom: {
    50: '#ad77c5',
    500: '#873dac',
    950: '#000000',
  },
}
SCSS
$custom: #873dac;
$custom-light: #ad77c5;
$custom-dark: #000000;
JSON
{
  "hex": "#873dac",
  "rgb": {
    "r": 135,
    "g": 61,
    "b": 172
  },
  "hsl": {
    "h": 280,
    "s": 47.639,
    "l": 45.686
  },
  "oklch": {
    "l": 0.50748,
    "c": 0.17694,
    "h": 312.5
  },
  "luminance": 0.11467
}

Semantic roles & 50–950 ramp

primary
#873DAC
secondary
#98C184
accent
#D7517D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #873DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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