#873ABE#873ABE

#873ABE is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.6% C 0.200 H 307.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#873ABE
RGBrgb(135, 58, 190)
HSLhsl(275, 53%, 49%)
HSVhsv(275, 69%, 75%)
CMYKcmyk(28.9%, 69.5%, 0%, 25.5%)
CIE-LABlab(41.05, 55.39, -55.84)
CIE-LCHlch(41.05, 78.66, 314.77°)
OKLaboklab(51.63% 0.1214 -0.1583)
OKLCHoklch(51.63% 0.2 307.5)
XYZxyz(20.7970, 11.8950, 49.9056)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873ABE #71BE3A
analogous
#453ABE #873ABE #BE3AB3
triadic
#873ABE #BE873A #3ABE87
tetradic
#873ABE #BE453A #71BE3A #3AB3BE
square
#873ABE #BE453A #71BE3A #3AB3BE
split-complementary
#873ABE #B3BE3A #3ABE45
monochromatic
#441D60 #662C8F #873ABE #A465D0 #BF94DE

Accessibility & contrast

On white

6.21
#873ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#873ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873ABE
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873ABE#FFFFFF#000000##FFFFFF
##873ABE1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#1661BB
Tritanopia (blue-blind)
#7E5778
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #873abe;
/* rgb */ color: rgb(135, 58, 190);
/* oklch */ color: oklch(51.6% 0.200 307.5);
Tailwind
colors: {
  custom: {
    50: '#ae76d2',
    500: '#873abe',
    950: '#000000',
  },
}
SCSS
$custom: #873abe;
$custom-light: #ae76d2;
$custom-dark: #000000;
JSON
{
  "hex": "#873abe",
  "rgb": {
    "r": 135,
    "g": 58,
    "b": 190
  },
  "hsl": {
    "h": 275,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51626,
    "c": 0.19951,
    "h": 307.5
  },
  "luminance": 0.11895
}

Semantic roles & 50–950 ramp

primary
#873ABE
secondary
#A5CA8A
accent
#DD4B88
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #873ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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