#873DCC#873DCC

#873DCC is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.0% C 0.210 H 303.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#873DCC
RGBrgb(135, 61, 204)
HSLhsl(271, 58%, 52%)
HSVhsv(271, 70%, 80%)
CMYKcmyk(33.8%, 70.1%, 0%, 20%)
CIE-LABlab(42.53, 57.26, -61.58)
CIE-LCHlch(42.53, 84.09, 312.92°)
OKLaboklab(53% 0.1163 -0.1752)
OKLCHoklch(53% 0.21 303.6)
XYZxyz(22.5570, 12.8481, 58.4066)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873DCC #82CC3D
analogous
#403DCC #873DCC #CC3DC9
triadic
#873DCC #CC873D #3DCC87
tetradic
#873DCC #CC403D #82CC3D #3DC9CC
square
#873DCC #CC403D #82CC3D #3DC9CC
split-complementary
#873DCC #C9CC3D #3DCC40
monochromatic
#491E71 #682AA1 #873DCC #A56DD9 #C39EE5

Accessibility & contrast

On white

5.88
#873DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#873DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873DCC
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873DCC#FFFFFF#000000##FFFFFF
##873DCC1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#795F80
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #873dcc;
/* rgb */ color: rgb(135, 61, 204);
/* oklch */ color: oklch(53.0% 0.210 303.6);
Tailwind
colors: {
  custom: {
    50: '#af78dc',
    500: '#873dcc',
    950: '#000000',
  },
}
SCSS
$custom: #873dcc;
$custom-light: #af78dc;
$custom-dark: #000000;
JSON
{
  "hex": "#873dcc",
  "rgb": {
    "r": 135,
    "g": 61,
    "b": 204
  },
  "hsl": {
    "h": 271.049,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52999,
    "c": 0.2103,
    "h": 303.6
  },
  "luminance": 0.12848
}

Semantic roles & 50–950 ramp

primary
#873DCC
secondary
#B1D293
accent
#E24691
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #873DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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