#873FC0#873FC0

#873FC0 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.4% C 0.195 H 306.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#873FC0
RGBrgb(135, 63, 192)
HSLhsl(273, 51%, 50%)
HSVhsv(273, 67%, 75%)
CMYKcmyk(29.7%, 67.2%, 0%, 24.7%)
CIE-LABlab(42.02, 53.54, -55.45)
CIE-LCHlch(42.02, 77.07, 314.00°)
OKLaboklab(52.36% 0.1158 -0.1572)
OKLCHoklch(52.36% 0.195 306.4)
XYZxyz(21.2816, 12.5119, 51.1529)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873FC0 #78C03F
analogous
#463FC0 #873FC0 #C03FB9
triadic
#873FC0 #C0873F #3FC087
tetradic
#873FC0 #C0463F #78C03F #3FB9C0
square
#873FC0 #C0463F #78C03F #3FB9C0
split-complementary
#873FC0 #B9C03F #3FC046
monochromatic
#462164 #673092 #873FC0 #A46DCF #C19BDE

Accessibility & contrast

On white

6.00
#873FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#873FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873FC0
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873FC0#FFFFFF#000000##FFFFFF
##873FC01.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#1C64BD
Tritanopia (blue-blind)
#7D5B7A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #873fc0;
/* rgb */ color: rgb(135, 63, 192);
/* oklch */ color: oklch(52.4% 0.195 306.4);
Tailwind
colors: {
  custom: {
    50: '#ae79d4',
    500: '#873fc0',
    950: '#000000',
  },
}
SCSS
$custom: #873fc0;
$custom-light: #ae79d4;
$custom-dark: #000000;
JSON
{
  "hex": "#873fc0",
  "rgb": {
    "r": 135,
    "g": 63,
    "b": 192
  },
  "hsl": {
    "h": 273.488,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.52363,
    "c": 0.19523,
    "h": 306.4
  },
  "luminance": 0.12512
}

Semantic roles & 50–950 ramp

primary
#873FC0
secondary
#AACA91
accent
#DA4E8C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #873FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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