#873BAE#873BAE

#873BAE is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.6% C 0.182 H 312.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#873BAE
RGBrgb(135, 59, 174)
HSLhsl(280, 49%, 46%)
HSVhsv(280, 66%, 68%)
CMYKcmyk(22.4%, 66.1%, 0%, 31.8%)
CIE-LABlab(40.14, 51.37, -47.88)
CIE-LCHlch(40.14, 70.22, 317.01°)
OKLaboklab(50.63% 0.1218 -0.1349)
OKLCHoklch(50.63% 0.182 312.1)
XYZxyz(19.1942, 11.3353, 41.2130)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873BAE #62AE3B
analogous
#4D3BAE #873BAE #AE3B9B
triadic
#873BAE #AE873B #3BAE87
tetradic
#873BAE #AE4D3B #62AE3B #3B9BAE
square
#873BAE #AE4D3B #62AE3B #3B9BAE
split-complementary
#873BAE #9BAE3B #3BAE4D
monochromatic
#401C53 #642C80 #873BAE #A45EC8 #BE8CD8

Accessibility & contrast

On white

6.43
#873BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#873BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873BAE
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873BAE#FFFFFF#000000##FFFFFF
##873BAE1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#3160AB
Tritanopia (blue-blind)
#83526F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #873bae;
/* rgb */ color: rgb(135, 59, 174);
/* oklch */ color: oklch(50.6% 0.182 312.1);
Tailwind
colors: {
  custom: {
    50: '#ad76c7',
    500: '#873bae',
    950: '#000000',
  },
}
SCSS
$custom: #873bae;
$custom-light: #ad76c7;
$custom-dark: #000000;
JSON
{
  "hex": "#873bae",
  "rgb": {
    "r": 135,
    "g": 59,
    "b": 174
  },
  "hsl": {
    "h": 279.652,
    "s": 49.356,
    "l": 45.686
  },
  "oklch": {
    "l": 0.50633,
    "c": 0.1818,
    "h": 312.1
  },
  "luminance": 0.11335
}

Semantic roles & 50–950 ramp

primary
#873BAE
secondary
#98C282
accent
#D94F7E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #873BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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