#873BC8#873BC8

#873BC8 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.5% C 0.209 H 304.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#873BC8
RGBrgb(135, 59, 200)
HSLhsl(272, 56%, 51%)
HSVhsv(272, 71%, 78%)
CMYKcmyk(32.5%, 70.5%, 0%, 21.6%)
CIE-LABlab(41.92, 57.24, -60.26)
CIE-LCHlch(41.92, 83.11, 313.53°)
OKLaboklab(52.47% 0.119 -0.1713)
OKLCHoklch(52.47% 0.209 304.8)
XYZxyz(21.9786, 12.4491, 55.8774)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873BC8 #7CC83B
analogous
#403BC8 #873BC8 #C83BC3
triadic
#873BC8 #C8873B #3BC887
tetradic
#873BC8 #C8403B #7CC83B #3BC3C8
square
#873BC8 #C8403B #7CC83B #3BC3C8
split-complementary
#873BC8 #C3C83B #3BC840
monochromatic
#471E6B #672B9A #873BC8 #A46BD5 #C29BE3

Accessibility & contrast

On white

6.02
#873BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#873BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873BC8
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873BC8#FFFFFF#000000##FFFFFF
##873BC81.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#7B5C7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #873bc8;
/* rgb */ color: rgb(135, 59, 200);
/* oklch */ color: oklch(52.5% 0.209 304.8);
Tailwind
colors: {
  custom: {
    50: '#af77da',
    500: '#873bc8',
    950: '#000000',
  },
}
SCSS
$custom: #873bc8;
$custom-light: #af77da;
$custom-dark: #000000;
JSON
{
  "hex": "#873bc8",
  "rgb": {
    "r": 135,
    "g": 59,
    "b": 200
  },
  "hsl": {
    "h": 272.34,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52472,
    "c": 0.20856,
    "h": 304.8
  },
  "luminance": 0.12449
}

Semantic roles & 50–950 ramp

primary
#873BC8
secondary
#ADCF90
accent
#DF488E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #873BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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