#873FC1#873FC1

#873FC1 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.4% C 0.196 H 306.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#873FC1
RGBrgb(135, 63, 193)
HSLhsl(273, 51%, 50%)
HSVhsv(273, 67%, 76%)
CMYKcmyk(30.1%, 67.4%, 0%, 24.3%)
CIE-LABlab(42.09, 53.77, -55.92)
CIE-LCHlch(42.09, 77.57, 313.88°)
OKLaboklab(52.43% 0.1157 -0.1586)
OKLCHoklch(52.43% 0.196 306.1)
XYZxyz(21.3927, 12.5564, 51.7384)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873FC1 #79C13F
analogous
#463FC1 #873FC1 #C13FBA
triadic
#873FC1 #C1873F #3FC187
tetradic
#873FC1 #C1463F #79C13F #3FBAC1
square
#873FC1 #C1463F #79C13F #3FBAC1
split-complementary
#873FC1 #BAC13F #3FC146
monochromatic
#462165 #673093 #873FC1 #A46DD0 #C19CDF

Accessibility & contrast

On white

5.98
#873FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#873FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873FC1
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873FC1#FFFFFF#000000##FFFFFF
##873FC11.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#1A64BE
Tritanopia (blue-blind)
#7D5C7B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #873fc1;
/* rgb */ color: rgb(135, 63, 193);
/* oklch */ color: oklch(52.4% 0.196 306.1);
Tailwind
colors: {
  custom: {
    50: '#ae79d4',
    500: '#873fc1',
    950: '#000000',
  },
}
SCSS
$custom: #873fc1;
$custom-light: #ae79d4;
$custom-dark: #000000;
JSON
{
  "hex": "#873fc1",
  "rgb": {
    "r": 135,
    "g": 63,
    "b": 193
  },
  "hsl": {
    "h": 273.231,
    "s": 51.181,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52434,
    "c": 0.19628,
    "h": 306.1
  },
  "luminance": 0.12556
}

Semantic roles & 50–950 ramp

primary
#873FC1
secondary
#ABCB91
accent
#DB4D8C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #873FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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