#873CBA#873CBA

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

Color values

HEX#873CBA
RGBrgb(135, 60, 186)
HSLhsl(276, 51%, 48%)
HSVhsv(276, 68%, 73%)
CMYKcmyk(27.4%, 67.7%, 0%, 27.1%)
CIE-LABlab(41.10, 53.57, -53.41)
CIE-LCHlch(41.10, 75.65, 315.09°)
OKLaboklab(51.58% 0.1197 -0.1512)
OKLCHoklch(51.58% 0.193 308.4)
XYZxyz(20.4686, 11.9281, 47.6689)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873CBA #6FBA3C
analogous
#483CBA #873CBA #BA3CAE
triadic
#873CBA #BA873C #3CBA87
tetradic
#873CBA #BA483C #6FBA3C #3CAEBA
square
#873CBA #BA483C #6FBA3C #3CAEBA
split-complementary
#873CBA #AEBA3C #3CBA48
monochromatic
#441E5D #652D8C #873CBA #A366CE #BF94DC

Accessibility & contrast

On white

6.20
#873CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#873CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873CBA
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873CBA#FFFFFF#000000##FFFFFF
##873CBA1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#2262B7
Tritanopia (blue-blind)
#7F5776
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #873cba;
/* rgb */ color: rgb(135, 60, 186);
/* oklch */ color: oklch(51.6% 0.193 308.4);
Tailwind
colors: {
  custom: {
    50: '#ae77cf',
    500: '#873cba',
    950: '#000000',
  },
}
SCSS
$custom: #873cba;
$custom-light: #ae77cf;
$custom-dark: #000000;
JSON
{
  "hex": "#873cba",
  "rgb": {
    "r": 135,
    "g": 60,
    "b": 186
  },
  "hsl": {
    "h": 275.714,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51576,
    "c": 0.19284,
    "h": 308.4
  },
  "luminance": 0.11928
}

Semantic roles & 50–950 ramp

primary
#873CBA
secondary
#A3C88A
accent
#DB4D86
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #873CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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