#873E95#873E95

#873E95 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.5% C 0.152 H 320.9°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#873E95
RGBrgb(135, 62, 149)
HSLhsl(290, 41%, 41%)
HSVhsv(290, 58%, 58%)
CMYKcmyk(9.4%, 58.4%, 0%, 41.6%)
CIE-LABlab(39.19, 44.61, -34.42)
CIE-LCHlch(39.19, 56.34, 322.35°)
OKLaboklab(49.46% 0.1179 -0.0956)
OKLCHoklch(49.46% 0.152 320.9)
XYZxyz(17.1385, 10.7669, 29.6034)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873E95 #4C953E
analogous
#5C3E95 #873E95 #953E78
triadic
#873E95 #95873E #3E9587
tetradic
#873E95 #955C3E #4C953E #3E7895
square
#873E95 #955C3E #4C953E #3E7895
split-complementary
#873E95 #78953E #3E955C
monochromatic
#391A3F #602C6A #873E95 #A957B9 #BF82CB

Accessibility & contrast

On white

6.66
#873E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#873E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873E95
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873E95#FFFFFF#000000##FFFFFF
##873E951.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5798
Deuteranopia (green-blind)
#465F93
Tritanopia (blue-blind)
#884B63
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #873e95;
/* rgb */ color: rgb(135, 62, 149);
/* oklch */ color: oklch(49.5% 0.152 320.9);
Tailwind
colors: {
  custom: {
    50: '#ac77b4',
    500: '#873e95',
    950: '#000000',
  },
}
SCSS
$custom: #873e95;
$custom-light: #ac77b4;
$custom-dark: #000000;
JSON
{
  "hex": "#873e95",
  "rgb": {
    "r": 135,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 290.345,
    "s": 41.232,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49461,
    "c": 0.15182,
    "h": 320.9
  },
  "luminance": 0.10766
}

Semantic roles & 50–950 ramp

primary
#873E95
secondary
#83B57A
accent
#D1576A
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #873E95

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

Preview Lab → · Contrast checker → · Palette generator →

#873E95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva