#873CB8#873CB8

#873CB8 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.4% C 0.191 H 308.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#873CB8
RGBrgb(135, 60, 184)
HSLhsl(276, 51%, 48%)
HSVhsv(276, 67%, 72%)
CMYKcmyk(26.6%, 67.4%, 0%, 27.8%)
CIE-LABlab(40.97, 53.12, -52.46)
CIE-LCHlch(40.97, 74.65, 315.36°)
OKLaboklab(51.44% 0.1199 -0.1484)
OKLCHoklch(51.44% 0.191 308.9)
XYZxyz(20.2575, 11.8437, 46.5570)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873CB8 #6DB83C
analogous
#493CB8 #873CB8 #B83CAB
triadic
#873CB8 #B8873C #3CB887
tetradic
#873CB8 #B8493C #6DB83C #3CABB8
square
#873CB8 #B8493C #6DB83C #3CABB8
split-complementary
#873CB8 #ABB83C #3CB849
monochromatic
#431E5C #652D8A #873CB8 #A465CD #BF93DC

Accessibility & contrast

On white

6.23
#873CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#873CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873CB8
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873CB8#FFFFFF#000000##FFFFFF
##873CB81.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#2562B5
Tritanopia (blue-blind)
#805675
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #873cb8;
/* rgb */ color: rgb(135, 60, 184);
/* oklch */ color: oklch(51.4% 0.191 308.9);
Tailwind
colors: {
  custom: {
    50: '#ae77ce',
    500: '#873cb8',
    950: '#000000',
  },
}
SCSS
$custom: #873cb8;
$custom-light: #ae77ce;
$custom-dark: #000000;
JSON
{
  "hex": "#873cb8",
  "rgb": {
    "r": 135,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 276.29,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51437,
    "c": 0.19077,
    "h": 308.9
  },
  "luminance": 0.11843
}

Semantic roles & 50–950 ramp

primary
#873CB8
secondary
#A1C789
accent
#DA4D85
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #873CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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