#873BC6#873BC6

#873BC6 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.3% C 0.206 H 305.3°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#873BC6
RGBrgb(135, 59, 198)
HSLhsl(273, 55%, 50%)
HSVhsv(273, 70%, 78%)
CMYKcmyk(31.8%, 70.2%, 0%, 22.4%)
CIE-LABlab(41.78, 56.77, -59.33)
CIE-LCHlch(41.78, 82.12, 313.74°)
OKLaboklab(52.32% 0.1193 -0.1686)
OKLCHoklch(52.32% 0.207 305.3)
XYZxyz(21.7464, 12.3562, 54.6545)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873BC6 #7AC63B
analogous
#413BC6 #873BC6 #C63BBF
triadic
#873BC6 #C6873B #3BC687
tetradic
#873BC6 #C6413B #7AC63B #3BBFC6
square
#873BC6 #C6413B #7AC63B #3BBFC6
split-complementary
#873BC6 #BFC63B #3BC641
monochromatic
#471E68 #672C98 #873BC6 #A46AD4 #C19AE2

Accessibility & contrast

On white

6.05
#873BC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#873BC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873BC6
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873BC6#FFFFFF#000000##FFFFFF
##873BC61.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#0063C3
Tritanopia (blue-blind)
#7C5B7C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #873bc6;
/* rgb */ color: rgb(135, 59, 198);
/* oklch */ color: oklch(52.3% 0.206 305.3);
Tailwind
colors: {
  custom: {
    50: '#af77d8',
    500: '#873bc6',
    950: '#000000',
  },
}
SCSS
$custom: #873bc6;
$custom-light: #af77d8;
$custom-dark: #000000;
JSON
{
  "hex": "#873bc6",
  "rgb": {
    "r": 135,
    "g": 59,
    "b": 198
  },
  "hsl": {
    "h": 272.806,
    "s": 54.941,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52324,
    "c": 0.2065,
    "h": 305.3
  },
  "luminance": 0.12356
}

Semantic roles & 50–950 ramp

primary
#873BC6
secondary
#ACCD8F
accent
#DE4A8D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #873BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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