#873ABB#873ABB

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

Color values

HEX#873ABB
RGBrgb(135, 58, 187)
HSLhsl(276, 53%, 48%)
HSVhsv(276, 69%, 73%)
CMYKcmyk(27.8%, 69%, 0%, 26.7%)
CIE-LABlab(40.84, 54.72, -54.42)
CIE-LCHlch(40.84, 77.17, 315.15°)
OKLaboklab(51.41% 0.1218 -0.1541)
OKLCHoklch(51.41% 0.196 308.3)
XYZxyz(20.4725, 11.7652, 48.1965)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873ABB #6EBB3A
analogous
#463ABB #873ABB #BB3AAE
triadic
#873ABB #BB873A #3ABB87
tetradic
#873ABB #BB463A #6EBB3A #3AAEBB
square
#873ABB #BB463A #6EBB3A #3AAEBB
split-complementary
#873ABB #AEBB3A #3ABB46
monochromatic
#441D5E #652C8C #873ABB #A363CF #BF92DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##873ABB#FFFFFF#000000##FFFFFF
##873ABB1.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)
#005DBF
Deuteranopia (green-blind)
#1D61B8
Tritanopia (blue-blind)
#7F5676
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #873abb;
/* rgb */ color: rgb(135, 58, 187);
/* oklch */ color: oklch(51.4% 0.196 308.3);
Tailwind
colors: {
  custom: {
    50: '#ae76d0',
    500: '#873abb',
    950: '#000000',
  },
}
SCSS
$custom: #873abb;
$custom-light: #ae76d0;
$custom-dark: #000000;
JSON
{
  "hex": "#873abb",
  "rgb": {
    "r": 135,
    "g": 58,
    "b": 187
  },
  "hsl": {
    "h": 275.814,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51411,
    "c": 0.19644,
    "h": 308.3
  },
  "luminance": 0.11765
}

Semantic roles & 50–950 ramp

primary
#873ABB
secondary
#A2C888
accent
#DC4C86
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #873ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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