#873ABA#873ABA

#873ABA is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.3% C 0.195 H 308.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#873ABA
RGBrgb(135, 58, 186)
HSLhsl(276, 52%, 48%)
HSVhsv(276, 69%, 73%)
CMYKcmyk(27.4%, 68.8%, 0%, 27.1%)
CIE-LABlab(40.77, 54.49, -53.95)
CIE-LCHlch(40.77, 76.68, 315.29°)
OKLaboklab(51.34% 0.1219 -0.1527)
OKLCHoklch(51.34% 0.195 308.6)
XYZxyz(20.3659, 11.7225, 47.6347)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873ABA #6DBA3A
analogous
#473ABA #873ABA #BA3AAD
triadic
#873ABA #BA873A #3ABA87
tetradic
#873ABA #BA473A #6DBA3A #3AADBA
square
#873ABA #BA473A #6DBA3A #3AADBA
split-complementary
#873ABA #ADBA3A #3ABA47
monochromatic
#431D5D #652B8B #873ABA #A463CE #BF92DD

Accessibility & contrast

On white

6.28
#873ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#873ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873ABA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873ABA#FFFFFF#000000##FFFFFF
##873ABA1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#1F61B7
Tritanopia (blue-blind)
#7F5676
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #873aba;
/* rgb */ color: rgb(135, 58, 186);
/* oklch */ color: oklch(51.3% 0.195 308.6);
Tailwind
colors: {
  custom: {
    50: '#ae76cf',
    500: '#873aba',
    950: '#000000',
  },
}
SCSS
$custom: #873aba;
$custom-light: #ae76cf;
$custom-dark: #000000;
JSON
{
  "hex": "#873aba",
  "rgb": {
    "r": 135,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 276.094,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5134,
    "c": 0.19542,
    "h": 308.6
  },
  "luminance": 0.11722
}

Semantic roles & 50–950 ramp

primary
#873ABA
secondary
#A1C888
accent
#DC4C85
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #873ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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