#873BBD#873BBD

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

Color values

HEX#873BBD
RGBrgb(135, 59, 189)
HSLhsl(275, 52%, 49%)
HSVhsv(275, 69%, 74%)
CMYKcmyk(28.6%, 68.8%, 0%, 25.9%)
CIE-LABlab(41.14, 54.71, -55.11)
CIE-LCHlch(41.14, 77.66, 314.79°)
OKLaboklab(51.67% 0.1205 -0.1562)
OKLCHoklch(51.67% 0.197 307.6)
XYZxyz(20.7390, 11.9532, 49.3489)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873BBD #71BD3B
analogous
#463BBD #873BBD #BD3BB2
triadic
#873BBD #BD873B #3BBD87
tetradic
#873BBD #BD463B #71BD3B #3BB2BD
square
#873BBD #BD463B #71BD3B #3BB2BD
split-complementary
#873BBD #B2BD3B #3BBD46
monochromatic
#441E60 #662C8E #873BBD #A466CF #BF95DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##873BBD#FFFFFF#000000##FFFFFF
##873BBD1.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)
#005EC1
Deuteranopia (green-blind)
#1A62BA
Tritanopia (blue-blind)
#7E5877
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #873bbd;
/* rgb */ color: rgb(135, 59, 189);
/* oklch */ color: oklch(51.7% 0.197 307.6);
Tailwind
colors: {
  custom: {
    50: '#ae77d2',
    500: '#873bbd',
    950: '#000000',
  },
}
SCSS
$custom: #873bbd;
$custom-light: #ae77d2;
$custom-dark: #000000;
JSON
{
  "hex": "#873bbd",
  "rgb": {
    "r": 135,
    "g": 59,
    "b": 189
  },
  "hsl": {
    "h": 275.077,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5167,
    "c": 0.19723,
    "h": 307.6
  },
  "luminance": 0.11953
}

Semantic roles & 50–950 ramp

primary
#873BBD
secondary
#A5C98B
accent
#DC4C88
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #873BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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