#873CD5#873CD5

#873CD5 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.6% C 0.221 H 301.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#873CD5
RGBrgb(135, 60, 213)
HSLhsl(269, 65%, 54%)
HSVhsv(269, 72%, 84%)
CMYKcmyk(36.6%, 71.8%, 0%, 16.5%)
CIE-LABlab(43.04, 59.83, -65.94)
CIE-LCHlch(43.04, 89.04, 312.22°)
OKLaboklab(53.57% 0.1157 -0.188)
OKLCHoklch(53.57% 0.221 301.6)
XYZxyz(23.6149, 13.1866, 64.2390)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873CD5 #8AD53C
analogous
#3C3DD5 #873CD5 #D43CD5
triadic
#873CD5 #D5873C #3CD587
tetradic
#873CD5 #D53C3D #8AD53C #3CD5D4
square
#873CD5 #D53C3D #8AD53C #3CD5D4
split-complementary
#873CD5 #D5D43C #3DD53C
monochromatic
#4A1B7C #6926AE #873CD5 #A66EE0 #C5A1EB

Accessibility & contrast

On white

5.77
#873CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#873CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873CD5
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873CD5#FFFFFF#000000##FFFFFF
##873CD51.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D9
Deuteranopia (green-blind)
#0065D2
Tritanopia (blue-blind)
#766285
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #873cd5;
/* rgb */ color: rgb(135, 60, 213);
/* oklch */ color: oklch(53.6% 0.221 301.6);
Tailwind
colors: {
  custom: {
    50: '#b078e3',
    500: '#873cd5',
    950: '#000000',
  },
}
SCSS
$custom: #873cd5;
$custom-light: #b078e3;
$custom-dark: #000000;
JSON
{
  "hex": "#873cd5",
  "rgb": {
    "r": 135,
    "g": 60,
    "b": 213
  },
  "hsl": {
    "h": 269.412,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53571,
    "c": 0.22078,
    "h": 301.6
  },
  "luminance": 0.13187
}

Semantic roles & 50–950 ramp

primary
#873CD5
secondary
#B7D796
accent
#E84096
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #873CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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