#873899#873899

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

Color values

HEX#873899
RGBrgb(135, 56, 153)
HSLhsl(289, 46%, 41%)
HSVhsv(289, 63%, 60%)
CMYKcmyk(11.8%, 63.4%, 0%, 40%)
CIE-LABlab(38.34, 48.34, -38.18)
CIE-LCHlch(38.34, 61.60, 321.70°)
OKLaboklab(48.92% 0.1259 -0.1065)
OKLCHoklch(48.92% 0.165 319.8)
XYZxyz(17.1549, 10.2799, 31.2114)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873899 #4A9938
analogous
#563899 #873899 #99387A
triadic
#873899 #998738 #389987
tetradic
#873899 #995638 #4A9938 #387A99
square
#873899 #995638 #4A9938 #387A99
split-complementary
#873899 #7A9938 #389956
monochromatic
#38173F #5F286C #873899 #AA4FBF #C07CCF

Accessibility & contrast

On white

6.87
#873899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #873899
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873899#FFFFFF#000000##FFFFFF
##8738991.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E559C
Deuteranopia (green-blind)
#3F5D97
Tritanopia (blue-blind)
#874863
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #873899;
/* rgb */ color: rgb(135, 56, 153);
/* oklch */ color: oklch(48.9% 0.165 319.8);
Tailwind
colors: {
  custom: {
    50: '#ad74b7',
    500: '#873899',
    950: '#000000',
  },
}
SCSS
$custom: #873899;
$custom-light: #ad74b7;
$custom-dark: #000000;
JSON
{
  "hex": "#873899",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 153
  },
  "hsl": {
    "h": 288.866,
    "s": 46.411,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48919,
    "c": 0.16495,
    "h": 319.8
  },
  "luminance": 0.10279
}

Semantic roles & 50–950 ramp

primary
#873899
secondary
#81B874
accent
#D6526A
background
#FAF7FB
surface
#F5EDF6
border
#CFC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #873899

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

Preview Lab → · Contrast checker → · Palette generator →

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