#873BB1#873BB1

#873BB1 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.8% C 0.185 H 311.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#873BB1
RGBrgb(135, 59, 177)
HSLhsl(279, 50%, 46%)
HSVhsv(279, 67%, 69%)
CMYKcmyk(23.7%, 66.7%, 0%, 30.6%)
CIE-LABlab(40.33, 52.03, -49.35)
CIE-LCHlch(40.33, 71.71, 316.51°)
OKLaboklab(50.83% 0.1216 -0.1392)
OKLCHoklch(50.83% 0.185 311.1)
XYZxyz(19.4900, 11.4536, 42.7705)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873BB1 #65B13B
analogous
#4C3BB1 #873BB1 #B13BA0
triadic
#873BB1 #B1873B #3BB187
tetradic
#873BB1 #B14C3B #65B13B #3BA0B1
square
#873BB1 #B14C3B #65B13B #3BA0B1
split-complementary
#873BB1 #A0B13B #3BB14C
monochromatic
#411C55 #642C83 #873BB1 #A45FCA #BE8DD9

Accessibility & contrast

On white

6.38
#873BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#873BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873BB1
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873BB1#FFFFFF#000000##FFFFFF
##873BB11.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#2D60AE
Tritanopia (blue-blind)
#825371
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #873bb1;
/* rgb */ color: rgb(135, 59, 177);
/* oklch */ color: oklch(50.8% 0.185 311.1);
Tailwind
colors: {
  custom: {
    50: '#ae76c9',
    500: '#873bb1',
    950: '#000000',
  },
}
SCSS
$custom: #873bb1;
$custom-light: #ae76c9;
$custom-dark: #000000;
JSON
{
  "hex": "#873bb1",
  "rgb": {
    "r": 135,
    "g": 59,
    "b": 177
  },
  "hsl": {
    "h": 278.644,
    "s": 50,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50835,
    "c": 0.18488,
    "h": 311.1
  },
  "luminance": 0.11453
}

Semantic roles & 50–950 ramp

primary
#873BB1
secondary
#9BC484
accent
#DA4E80
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #873BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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