#873786#873786

#873786 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.7% C 0.148 H 328.1°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#873786
RGBrgb(135, 55, 134)
HSLhsl(301, 42%, 37%)
HSVhsv(301, 59%, 53%)
CMYKcmyk(0%, 59.3%, 0.7%, 47.1%)
CIE-LABlab(37.12, 45.13, -28.51)
CIE-LCHlch(37.12, 53.38, 327.72°)
OKLaboklab(47.7% 0.126 -0.0785)
OKLCHoklch(47.7% 0.148 328.1)
XYZxyz(15.6607, 9.6055, 23.5788)
Luminance0.0960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873786 #378738
analogous
#603787 #873786 #87375E
triadic
#873786 #868737 #378687
tetradic
#873786 #876037 #378738 #375E87
square
#873786 #876037 #378738 #375E87
split-complementary
#873786 #5E8737 #378760
monochromatic
#301430 #5C255B #873786 #B249B1 #C673C5

Accessibility & contrast

On white

7.19
#873786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#873786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #873786
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873786#FFFFFF#000000##FFFFFF
##8737861.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5188
Deuteranopia (green-blind)
#495B84
Tritanopia (blue-blind)
#8B4059
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #873786;
/* rgb */ color: rgb(135, 55, 134);
/* oklch */ color: oklch(47.7% 0.148 328.1);
Tailwind
colors: {
  custom: {
    50: '#ac73a9',
    500: '#873786',
    950: '#000000',
  },
}
SCSS
$custom: #873786;
$custom-light: #ac73a9;
$custom-dark: #000000;
JSON
{
  "hex": "#873786",
  "rgb": {
    "r": 135,
    "g": 55,
    "b": 134
  },
  "hsl": {
    "h": 300.75,
    "s": 42.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47697,
    "c": 0.14846,
    "h": 328.1
  },
  "luminance": 0.09605
}

Semantic roles & 50–950 ramp

primary
#873786
secondary
#6BAF6C
accent
#D25756
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #873786

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

Preview Lab → · Contrast checker → · Palette generator →

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