#873795#873795

#873795 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.6% C 0.163 H 321.4°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#873795
RGBrgb(135, 55, 149)
HSLhsl(291, 46%, 40%)
HSVhsv(291, 63%, 58%)
CMYKcmyk(9.4%, 63.1%, 0%, 41.6%)
CIE-LABlab(37.94, 48.01, -36.39)
CIE-LCHlch(37.94, 60.24, 322.83°)
OKLaboklab(48.55% 0.1271 -0.1013)
OKLCHoklch(48.55% 0.163 321.4)
XYZxyz(16.7821, 10.0540, 29.4846)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873795 #459537
analogous
#583795 #873795 #953774
triadic
#873795 #958737 #379587
tetradic
#873795 #955837 #459537 #377495
square
#873795 #955837 #459537 #377495
split-complementary
#873795 #749537 #379558
monochromatic
#36163C #5E2768 #873795 #AC4CBD #C179CD

Accessibility & contrast

On white

6.98
#873795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#873795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873795
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873795#FFFFFF#000000##FFFFFF
##8737951.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215498
Deuteranopia (green-blind)
#415C93
Tritanopia (blue-blind)
#884661
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #873795;
/* rgb */ color: rgb(135, 55, 149);
/* oklch */ color: oklch(48.6% 0.163 321.4);
Tailwind
colors: {
  custom: {
    50: '#ad73b4',
    500: '#873795',
    950: '#000000',
  },
}
SCSS
$custom: #873795;
$custom-light: #ad73b4;
$custom-dark: #000000;
JSON
{
  "hex": "#873795",
  "rgb": {
    "r": 135,
    "g": 55,
    "b": 149
  },
  "hsl": {
    "h": 291.064,
    "s": 46.078,
    "l": 40
  },
  "oklch": {
    "l": 0.48554,
    "c": 0.16254,
    "h": 321.4
  },
  "luminance": 0.10053
}

Semantic roles & 50–950 ramp

primary
#873795
secondary
#7CB671
accent
#D65266
background
#FAF7FB
surface
#F5EDF6
border
#CFC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #873795

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

Preview Lab → · Contrast checker → · Palette generator →

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