#873CC6#873CC6

#873CC6 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.4% C 0.205 H 305.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#873CC6
RGBrgb(135, 60, 198)
HSLhsl(273, 55%, 51%)
HSVhsv(273, 70%, 78%)
CMYKcmyk(31.8%, 69.7%, 0%, 22.4%)
CIE-LABlab(41.94, 56.32, -59.07)
CIE-LCHlch(41.94, 81.62, 313.64°)
OKLaboklab(52.44% 0.1182 -0.1678)
OKLCHoklch(52.44% 0.205 305.2)
XYZxyz(21.7983, 12.4600, 54.6718)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873CC6 #7BC63C
analogous
#423CC6 #873CC6 #C63CC0
triadic
#873CC6 #C6873C #3CC687
tetradic
#873CC6 #C6423C #7BC63C #3CC0C6
square
#873CC6 #C6423C #7BC63C #3CC0C6
split-complementary
#873CC6 #C0C63C #3CC642
monochromatic
#471F69 #672D98 #873CC6 #A46BD4 #C19BE2

Accessibility & contrast

On white

6.01
#873CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#873CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873CC6
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873CC6#FFFFFF#000000##FFFFFF
##873CC61.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #873cc6;
/* rgb */ color: rgb(135, 60, 198);
/* oklch */ color: oklch(52.4% 0.205 305.2);
Tailwind
colors: {
  custom: {
    50: '#af78d8',
    500: '#873cc6',
    950: '#000000',
  },
}
SCSS
$custom: #873cc6;
$custom-light: #af78d8;
$custom-dark: #000000;
JSON
{
  "hex": "#873cc6",
  "rgb": {
    "r": 135,
    "g": 60,
    "b": 198
  },
  "hsl": {
    "h": 272.609,
    "s": 54.762,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52439,
    "c": 0.20529,
    "h": 305.2
  },
  "luminance": 0.1246
}

Semantic roles & 50–950 ramp

primary
#873CC6
secondary
#ACCE90
accent
#DE4A8D
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110915
muted
#807B83

Preview Lab

Preview with #873CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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