#873D97#873D97

#873D97 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.4% C 0.155 H 320.2°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#873D97
RGBrgb(135, 61, 151)
HSLhsl(289, 42%, 42%)
HSVhsv(289, 60%, 59%)
CMYKcmyk(10.6%, 59.6%, 0%, 40.8%)
CIE-LABlab(39.11, 45.52, -35.75)
CIE-LCHlch(39.11, 57.88, 321.86°)
OKLaboklab(49.44% 0.1194 -0.0995)
OKLCHoklch(49.44% 0.155 320.2)
XYZxyz(17.2457, 10.7235, 30.4336)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873D97 #4D973D
analogous
#5A3D97 #873D97 #973D7A
triadic
#873D97 #97873D #3D9787
tetradic
#873D97 #975A3D #4D973D #3D7A97
square
#873D97 #975A3D #4D973D #3D7A97
split-complementary
#873D97 #7A973D #3D975A
monochromatic
#391A40 #602B6B #873D97 #A956BB #BF82CC

Accessibility & contrast

On white

6.68
#873D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#873D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873D97
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873D97#FFFFFF#000000##FFFFFF
##873D971.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29579A
Deuteranopia (green-blind)
#445F95
Tritanopia (blue-blind)
#884B64
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #873d97;
/* rgb */ color: rgb(135, 61, 151);
/* oklch */ color: oklch(49.4% 0.155 320.2);
Tailwind
colors: {
  custom: {
    50: '#ac77b6',
    500: '#873d97',
    950: '#000000',
  },
}
SCSS
$custom: #873d97;
$custom-light: #ac77b6;
$custom-dark: #000000;
JSON
{
  "hex": "#873d97",
  "rgb": {
    "r": 135,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 289.333,
    "s": 42.453,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49443,
    "c": 0.1554,
    "h": 320.2
  },
  "luminance": 0.10723
}

Semantic roles & 50–950 ramp

primary
#873D97
secondary
#84B779
accent
#D2566C
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #873D97

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

Preview Lab → · Contrast checker → · Palette generator →

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