#873FC8#873FC8

#873FC8 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.9% C 0.204 H 304.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#873FC8
RGBrgb(135, 63, 200)
HSLhsl(272, 55%, 52%)
HSVhsv(272, 69%, 78%)
CMYKcmyk(32.5%, 68.5%, 0%, 21.6%)
CIE-LABlab(42.58, 55.40, -59.20)
CIE-LCHlch(42.58, 81.08, 313.10°)
OKLaboklab(52.94% 0.1148 -0.1682)
OKLCHoklch(52.94% 0.204 304.3)
XYZxyz(22.1921, 12.8761, 55.9486)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873FC8 #80C83F
analogous
#433FC8 #873FC8 #C83FC5
triadic
#873FC8 #C8873F #3FC887
tetradic
#873FC8 #C8433F #80C83F #3FC5C8
square
#873FC8 #C8433F #80C83F #3FC5C8
split-complementary
#873FC8 #C5C83F #3FC843
monochromatic
#481F6D #682D9D #873FC8 #A56FD6 #C29EE3

Accessibility & contrast

On white

5.87
#873FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#873FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873FC8
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873FC8#FFFFFF#000000##FFFFFF
##873FC81.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#0064C5
Tritanopia (blue-blind)
#7B5E7F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #873fc8;
/* rgb */ color: rgb(135, 63, 200);
/* oklch */ color: oklch(52.9% 0.204 304.3);
Tailwind
colors: {
  custom: {
    50: '#af79da',
    500: '#873fc8',
    950: '#000000',
  },
}
SCSS
$custom: #873fc8;
$custom-light: #af79da;
$custom-dark: #000000;
JSON
{
  "hex": "#873fc8",
  "rgb": {
    "r": 135,
    "g": 63,
    "b": 200
  },
  "hsl": {
    "h": 271.533,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52939,
    "c": 0.20367,
    "h": 304.3
  },
  "luminance": 0.12876
}

Semantic roles & 50–950 ramp

primary
#873FC8
secondary
#B0D093
accent
#DF4990
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #873FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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