#873CD6#873CD6

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

Color values

HEX#873CD6
RGBrgb(135, 60, 214)
HSLhsl(269, 65%, 54%)
HSVhsv(269, 72%, 84%)
CMYKcmyk(36.9%, 72%, 0%, 16.1%)
CIE-LABlab(43.12, 60.07, -66.39)
CIE-LCHlch(43.12, 89.54, 312.14°)
OKLaboklab(53.65% 0.1155 -0.1893)
OKLCHoklch(53.65% 0.222 301.4)
XYZxyz(23.7422, 13.2375, 64.9096)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873CD6 #8BD63C
analogous
#3C3ED6 #873CD6 #D43CD6
triadic
#873CD6 #D6873C #3CD687
tetradic
#873CD6 #D63C3E #8BD63C #3CD6D4
square
#873CD6 #D63C3E #8BD63C #3CD6D4
split-complementary
#873CD6 #D6D43C #3ED63C
monochromatic
#4B1A7D #6925B0 #873CD6 #A66FE1 #C5A1EB

Accessibility & contrast

On white

5.76
#873CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#873CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873CD6
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873CD6#FFFFFF#000000##FFFFFF
##873CD61.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DA
Deuteranopia (green-blind)
#0065D3
Tritanopia (blue-blind)
#766286
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #873cd6;
/* rgb */ color: rgb(135, 60, 214);
/* oklch */ color: oklch(53.6% 0.222 301.4);
Tailwind
colors: {
  custom: {
    50: '#b078e4',
    500: '#873cd6',
    950: '#000000',
  },
}
SCSS
$custom: #873cd6;
$custom-light: #b078e4;
$custom-dark: #000000;
JSON
{
  "hex": "#873cd6",
  "rgb": {
    "r": 135,
    "g": 60,
    "b": 214
  },
  "hsl": {
    "h": 269.221,
    "s": 65.254,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53648,
    "c": 0.22181,
    "h": 301.4
  },
  "luminance": 0.13238
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #873CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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