#873BD6#873BD6

#873BD6 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.5% C 0.223 H 301.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#873BD6
RGBrgb(135, 59, 214)
HSLhsl(269, 65%, 54%)
HSVhsv(269, 72%, 84%)
CMYKcmyk(36.9%, 72.4%, 0%, 16.1%)
CIE-LABlab(42.96, 60.51, -66.65)
CIE-LCHlch(42.96, 90.02, 312.24°)
OKLaboklab(53.54% 0.1165 -0.1901)
OKLCHoklch(53.54% 0.223 301.5)
XYZxyz(23.6903, 13.1337, 64.8923)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873BD6 #8AD63B
analogous
#3B3CD6 #873BD6 #D43BD6
triadic
#873BD6 #D6873B #3BD687
tetradic
#873BD6 #D63B3C #8AD63B #3BD6D4
square
#873BD6 #D63B3C #8AD63B #3BD6D4
split-complementary
#873BD6 #D6D43B #3CD63B
monochromatic
#4A1A7D #6925AF #873BD6 #A66EE1 #C5A0EB

Accessibility & contrast

On white

5.79
#873BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#873BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873BD6
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873BD6#FFFFFF#000000##FFFFFF
##873BD61.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #873bd6;
/* rgb */ color: rgb(135, 59, 214);
/* oklch */ color: oklch(53.5% 0.223 301.5);
Tailwind
colors: {
  custom: {
    50: '#b078e4',
    500: '#873bd6',
    950: '#000000',
  },
}
SCSS
$custom: #873bd6;
$custom-light: #b078e4;
$custom-dark: #000000;
JSON
{
  "hex": "#873bd6",
  "rgb": {
    "r": 135,
    "g": 59,
    "b": 214
  },
  "hsl": {
    "h": 269.419,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53539,
    "c": 0.22292,
    "h": 301.5
  },
  "luminance": 0.13134
}

Semantic roles & 50–950 ramp

primary
#873BD6
secondary
#B7D895
accent
#E83F96
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #873BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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