#873DC1#873DC1

#873DC1 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 52.2% C 0.199 H 306.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#873DC1
RGBrgb(135, 61, 193)
HSLhsl(274, 52%, 50%)
HSVhsv(274, 68%, 76%)
CMYKcmyk(30.1%, 68.4%, 0%, 24.3%)
CIE-LABlab(41.75, 54.71, -56.46)
CIE-LCHlch(41.75, 78.62, 314.10°)
OKLaboklab(52.19% 0.1179 -0.1602)
OKLCHoklch(52.19% 0.199 306.3)
XYZxyz(21.2840, 12.3388, 51.7021)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873DC1 #77C13D
analogous
#453DC1 #873DC1 #C13DB9
triadic
#873DC1 #C1873D #3DC187
tetradic
#873DC1 #C1453D #77C13D #3DB9C1
square
#873DC1 #C1453D #77C13D #3DB9C1
split-complementary
#873DC1 #B9C13D #3DC145
monochromatic
#462064 #662E92 #873DC1 #A46BD0 #C099DF

Accessibility & contrast

On white

6.06
#873DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #873DC1
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873DC1#FFFFFF#000000##FFFFFF
##873DC11.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#1563BE
Tritanopia (blue-blind)
#7D5A7A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #873dc1;
/* rgb */ color: rgb(135, 61, 193);
/* oklch */ color: oklch(52.2% 0.199 306.3);
Tailwind
colors: {
  custom: {
    50: '#af78d4',
    500: '#873dc1',
    950: '#000000',
  },
}
SCSS
$custom: #873dc1;
$custom-light: #af78d4;
$custom-dark: #000000;
JSON
{
  "hex": "#873dc1",
  "rgb": {
    "r": 135,
    "g": 61,
    "b": 193
  },
  "hsl": {
    "h": 273.636,
    "s": 51.969,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52193,
    "c": 0.19885,
    "h": 306.3
  },
  "luminance": 0.12339
}

Semantic roles & 50–950 ramp

primary
#873DC1
secondary
#A9CB8F
accent
#DB4C8B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #873DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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