#873EAE#873EAE

#873EAE is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.0% C 0.178 H 311.7°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#873EAE
RGBrgb(135, 62, 174)
HSLhsl(279, 47%, 46%)
HSVhsv(279, 64%, 68%)
CMYKcmyk(22.4%, 64.4%, 0%, 31.8%)
CIE-LABlab(40.66, 49.93, -47.05)
CIE-LCHlch(40.66, 68.61, 316.70°)
OKLaboklab(51.01% 0.1183 -0.1325)
OKLCHoklch(51.01% 0.178 311.7)
XYZxyz(19.3529, 11.6526, 41.2659)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873EAE #65AE3E
analogous
#4F3EAE #873EAE #AE3E9D
triadic
#873EAE #AE873E #3EAE87
tetradic
#873EAE #AE4F3E #65AE3E #3E9DAE
square
#873EAE #AE4F3E #65AE3E #3E9DAE
split-complementary
#873EAE #9DAE3E #3EAE4F
monochromatic
#411E54 #642E81 #873EAE #A462C7 #BE8FD7

Accessibility & contrast

On white

6.31
#873EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#873EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873EAE
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873EAE#FFFFFF#000000##FFFFFF
##873EAE1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035CB1
Deuteranopia (green-blind)
#3461AB
Tritanopia (blue-blind)
#825470
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #873eae;
/* rgb */ color: rgb(135, 62, 174);
/* oklch */ color: oklch(51.0% 0.178 311.7);
Tailwind
colors: {
  custom: {
    50: '#ad78c7',
    500: '#873eae',
    950: '#000000',
  },
}
SCSS
$custom: #873eae;
$custom-light: #ad78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#873eae",
  "rgb": {
    "r": 135,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 279.107,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51007,
    "c": 0.17762,
    "h": 311.7
  },
  "luminance": 0.11652
}

Semantic roles & 50–950 ramp

primary
#873EAE
secondary
#9BC286
accent
#D75180
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #873EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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