#873DB0#873DB0

#873DB0 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.0% C 0.181 H 311.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#873DB0
RGBrgb(135, 61, 176)
HSLhsl(279, 49%, 46%)
HSVhsv(279, 65%, 69%)
CMYKcmyk(23.3%, 65.3%, 0%, 31%)
CIE-LABlab(40.61, 50.86, -48.31)
CIE-LCHlch(40.61, 70.14, 316.47°)
OKLaboklab(51.01% 0.1194 -0.1362)
OKLCHoklch(51.01% 0.181 311.2)
XYZxyz(19.4954, 11.6234, 42.2824)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873DB0 #66B03D
analogous
#4E3DB0 #873DB0 #B03DA0
triadic
#873DB0 #B0873D #3DB087
tetradic
#873DB0 #B04E3D #66B03D #3DA0B0
square
#873DB0 #B04E3D #66B03D #3DA0B0
split-complementary
#873DB0 #A0B03D #3DB04E
monochromatic
#411D55 #642D83 #873DB0 #A462C8 #BE8FD8

Accessibility & contrast

On white

6.32
#873DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#873DB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873DB0
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873DB0#FFFFFF#000000##FFFFFF
##873DB01.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#3161AD
Tritanopia (blue-blind)
#825471
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #873db0;
/* rgb */ color: rgb(135, 61, 176);
/* oklch */ color: oklch(51.0% 0.181 311.2);
Tailwind
colors: {
  custom: {
    50: '#ad77c8',
    500: '#873db0',
    950: '#000000',
  },
}
SCSS
$custom: #873db0;
$custom-light: #ad77c8;
$custom-dark: #000000;
JSON
{
  "hex": "#873db0",
  "rgb": {
    "r": 135,
    "g": 61,
    "b": 176
  },
  "hsl": {
    "h": 278.609,
    "s": 48.523,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51013,
    "c": 0.18111,
    "h": 311.2
  },
  "luminance": 0.11623
}

Semantic roles & 50–950 ramp

primary
#873DB0
secondary
#9CC386
accent
#D85080
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #873DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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