#873CBB#873CBB

#873CBB is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.6% C 0.194 H 308.1°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#873CBB
RGBrgb(135, 60, 187)
HSLhsl(275, 51%, 48%)
HSVhsv(275, 68%, 73%)
CMYKcmyk(27.8%, 67.9%, 0%, 26.7%)
CIE-LABlab(41.17, 53.80, -53.89)
CIE-LCHlch(41.17, 76.15, 314.95°)
OKLaboklab(51.65% 0.1196 -0.1526)
OKLCHoklch(51.65% 0.194 308.1)
XYZxyz(20.5753, 11.9708, 48.2308)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873CBB #70BB3C
analogous
#473CBB #873CBB #BB3CAF
triadic
#873CBB #BB873C #3CBB87
tetradic
#873CBB #BB473C #70BB3C #3CAFBB
square
#873CBB #BB473C #70BB3C #3CAFBB
split-complementary
#873CBB #AFBB3C #3CBB47
monochromatic
#441E5E #662D8D #873CBB #A366CE #BF95DD

Accessibility & contrast

On white

6.19
#873CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#873CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873CBB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873CBB#FFFFFF#000000##FFFFFF
##873CBB1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#2062B8
Tritanopia (blue-blind)
#7F5777
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #873cbb;
/* rgb */ color: rgb(135, 60, 187);
/* oklch */ color: oklch(51.6% 0.194 308.1);
Tailwind
colors: {
  custom: {
    50: '#ae77d0',
    500: '#873cbb',
    950: '#000000',
  },
}
SCSS
$custom: #873cbb;
$custom-light: #ae77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#873cbb",
  "rgb": {
    "r": 135,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 275.433,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51647,
    "c": 0.19388,
    "h": 308.1
  },
  "luminance": 0.1197
}

Semantic roles & 50–950 ramp

primary
#873CBB
secondary
#A4C88B
accent
#DB4D87
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #873CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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