#873897#873897

#873897 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.8% C 0.163 H 320.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#873897
RGBrgb(135, 56, 151)
HSLhsl(290, 46%, 41%)
HSVhsv(290, 63%, 59%)
CMYKcmyk(10.6%, 62.9%, 0%, 40.8%)
CIE-LABlab(38.22, 47.94, -37.15)
CIE-LCHlch(38.22, 60.65, 322.22°)
OKLaboklab(48.8% 0.1259 -0.1036)
OKLCHoklch(48.8% 0.163 320.6)
XYZxyz(16.9911, 10.2144, 30.3487)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873897 #489738
analogous
#573897 #873897 #973877
triadic
#873897 #978738 #389787
tetradic
#873897 #975738 #489738 #387797
square
#873897 #975738 #489738 #387797
split-complementary
#873897 #779738 #389757
monochromatic
#37173E #5F276A #873897 #AB4FBE #C07BCE

Accessibility & contrast

On white

6.90
#873897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#873897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873897
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873897#FFFFFF#000000##FFFFFF
##8738971.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #873897;
/* rgb */ color: rgb(135, 56, 151);
/* oklch */ color: oklch(48.8% 0.163 320.6);
Tailwind
colors: {
  custom: {
    50: '#ad74b6',
    500: '#873897',
    950: '#000000',
  },
}
SCSS
$custom: #873897;
$custom-light: #ad74b6;
$custom-dark: #000000;
JSON
{
  "hex": "#873897",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 151
  },
  "hsl": {
    "h": 289.895,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48798,
    "c": 0.163,
    "h": 320.6
  },
  "luminance": 0.10214
}

Semantic roles & 50–950 ramp

primary
#873897
secondary
#7FB773
accent
#D65268
background
#FAF7FB
surface
#F5EDF6
border
#CFC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #873897

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

Preview Lab → · Contrast checker → · Palette generator →

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