#873CBE#873CBE

#873CBE is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.9% C 0.197 H 307.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#873CBE
RGBrgb(135, 60, 190)
HSLhsl(275, 52%, 49%)
HSVhsv(275, 68%, 75%)
CMYKcmyk(28.9%, 68.4%, 0%, 25.5%)
CIE-LABlab(41.38, 54.48, -55.31)
CIE-LCHlch(41.38, 77.64, 314.57°)
OKLaboklab(51.86% 0.1193 -0.1568)
OKLCHoklch(51.86% 0.197 307.3)
XYZxyz(20.8998, 12.1006, 49.9398)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873CBE #73BE3C
analogous
#463CBE #873CBE #BE3CB4
triadic
#873CBE #BE873C #3CBE87
tetradic
#873CBE #BE463C #73BE3C #3CB4BE
square
#873CBE #BE463C #73BE3C #3CB4BE
split-complementary
#873CBE #B4BE3C #3CBE46
monochromatic
#451F61 #662D8F #873CBE #A468CF #C096DE

Accessibility & contrast

On white

6.14
#873CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#873CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873CBE
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873CBE#FFFFFF#000000##FFFFFF
##873CBE1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#1A62BB
Tritanopia (blue-blind)
#7E5978
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #873cbe;
/* rgb */ color: rgb(135, 60, 190);
/* oklch */ color: oklch(51.9% 0.197 307.3);
Tailwind
colors: {
  custom: {
    50: '#ae77d2',
    500: '#873cbe',
    950: '#000000',
  },
}
SCSS
$custom: #873cbe;
$custom-light: #ae77d2;
$custom-dark: #000000;
JSON
{
  "hex": "#873cbe",
  "rgb": {
    "r": 135,
    "g": 60,
    "b": 190
  },
  "hsl": {
    "h": 274.615,
    "s": 52,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51859,
    "c": 0.197,
    "h": 307.3
  },
  "luminance": 0.121
}

Semantic roles & 50–950 ramp

primary
#873CBE
secondary
#A6CA8C
accent
#DB4C89
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #873CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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