#873BB9#873BB9

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

Color values

HEX#873BB9
RGBrgb(135, 59, 185)
HSLhsl(276, 52%, 48%)
HSVhsv(276, 68%, 73%)
CMYKcmyk(27%, 68.1%, 0%, 27.5%)
CIE-LABlab(40.87, 53.81, -53.20)
CIE-LCHlch(40.87, 75.67, 315.32°)
OKLaboklab(51.39% 0.1209 -0.1506)
OKLCHoklch(51.39% 0.193 308.8)
XYZxyz(20.3108, 11.7820, 47.0937)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873BB9 #6DB93B
analogous
#483BB9 #873BB9 #B93BAC
triadic
#873BB9 #B9873B #3BB987
tetradic
#873BB9 #B9483B #6DB93B #3BACB9
square
#873BB9 #B9483B #6DB93B #3BACB9
split-complementary
#873BB9 #ACB93B #3BB948
monochromatic
#431D5C #652C8B #873BB9 #A464CD #BF92DC

Accessibility & contrast

On white

6.26
#873BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#873BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873BB9
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873BB9#FFFFFF#000000##FFFFFF
##873BB91.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#2261B6
Tritanopia (blue-blind)
#805675
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #873bb9;
/* rgb */ color: rgb(135, 59, 185);
/* oklch */ color: oklch(51.4% 0.193 308.8);
Tailwind
colors: {
  custom: {
    50: '#ae77cf',
    500: '#873bb9',
    950: '#000000',
  },
}
SCSS
$custom: #873bb9;
$custom-light: #ae77cf;
$custom-dark: #000000;
JSON
{
  "hex": "#873bb9",
  "rgb": {
    "r": 135,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 276.19,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51387,
    "c": 0.19311,
    "h": 308.8
  },
  "luminance": 0.11782
}

Semantic roles & 50–950 ramp

primary
#873BB9
secondary
#A1C788
accent
#DB4D85
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #873BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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