#873997#873997

#873997 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 48.9% C 0.162 H 320.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#873997
RGBrgb(135, 57, 151)
HSLhsl(290, 45%, 41%)
HSVhsv(290, 62%, 59%)
CMYKcmyk(10.6%, 62.3%, 0%, 40.8%)
CIE-LABlab(38.40, 47.46, -36.88)
CIE-LCHlch(38.40, 60.11, 322.15°)
OKLaboklab(48.92% 0.1246 -0.1028)
OKLCHoklch(48.92% 0.162 320.5)
XYZxyz(17.0400, 10.3123, 30.3651)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873997 #499739
analogous
#583997 #873997 #973978
triadic
#873997 #978739 #399787
tetradic
#873997 #975839 #499739 #397897
square
#873997 #975839 #499739 #397897
split-complementary
#873997 #789739 #399758
monochromatic
#38173E #5F286B #873997 #AA50BD #C07DCE

Accessibility & contrast

On white

6.86
#873997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#873997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873997
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873997#FFFFFF#000000##FFFFFF
##8739971.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23559A
Deuteranopia (green-blind)
#415D95
Tritanopia (blue-blind)
#884863
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #873997;
/* rgb */ color: rgb(135, 57, 151);
/* oklch */ color: oklch(48.9% 0.162 320.5);
Tailwind
colors: {
  custom: {
    50: '#ad74b6',
    500: '#873997',
    950: '#000000',
  },
}
SCSS
$custom: #873997;
$custom-light: #ad74b6;
$custom-dark: #000000;
JSON
{
  "hex": "#873997",
  "rgb": {
    "r": 135,
    "g": 57,
    "b": 151
  },
  "hsl": {
    "h": 289.787,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48923,
    "c": 0.16151,
    "h": 320.5
  },
  "luminance": 0.10312
}

Semantic roles & 50–950 ramp

primary
#873997
secondary
#80B775
accent
#D55369
background
#FAF7FB
surface
#F5EDF6
border
#CFC8D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #873997

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

Preview Lab → · Contrast checker → · Palette generator →

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