#873FAE#873FAE

#873FAE is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.1% C 0.176 H 311.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#873FAE
RGBrgb(135, 63, 174)
HSLhsl(279, 47%, 46%)
HSVhsv(279, 64%, 68%)
CMYKcmyk(22.4%, 63.8%, 0%, 31.8%)
CIE-LABlab(40.84, 49.45, -46.76)
CIE-LCHlch(40.84, 68.06, 316.60°)
OKLaboklab(51.14% 0.1171 -0.1317)
OKLCHoklch(51.14% 0.176 311.6)
XYZxyz(19.4078, 11.7624, 41.2842)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873FAE #66AE3F
analogous
#503FAE #873FAE #AE3F9E
triadic
#873FAE #AE873F #3FAE87
tetradic
#873FAE #AE503F #66AE3F #3F9EAE
square
#873FAE #AE503F #66AE3F #3F9EAE
split-complementary
#873FAE #9EAE3F #3FAE50
monochromatic
#411E54 #642F81 #873FAE #A464C7 #BE90D7

Accessibility & contrast

On white

6.26
#873FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#873FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873FAE
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873FAE#FFFFFF#000000##FFFFFF
##873FAE1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085DB1
Deuteranopia (green-blind)
#3562AB
Tritanopia (blue-blind)
#825571
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #873fae;
/* rgb */ color: rgb(135, 63, 174);
/* oklch */ color: oklch(51.1% 0.176 311.6);
Tailwind
colors: {
  custom: {
    50: '#ad79c7',
    500: '#873fae',
    950: '#000000',
  },
}
SCSS
$custom: #873fae;
$custom-light: #ad79c7;
$custom-dark: #000000;
JSON
{
  "hex": "#873fae",
  "rgb": {
    "r": 135,
    "g": 63,
    "b": 174
  },
  "hsl": {
    "h": 278.919,
    "s": 46.835,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51135,
    "c": 0.1762,
    "h": 311.6
  },
  "luminance": 0.11762
}

Semantic roles & 50–950 ramp

primary
#873FAE
secondary
#9CC287
accent
#D65180
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #873FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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