#873BB6#873BB6

#873BB6 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.190 H 309.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#873BB6
RGBrgb(135, 59, 182)
HSLhsl(277, 51%, 47%)
HSVhsv(277, 68%, 71%)
CMYKcmyk(25.8%, 67.6%, 0%, 28.6%)
CIE-LABlab(40.67, 53.14, -51.76)
CIE-LCHlch(40.67, 74.18, 315.75°)
OKLaboklab(51.18% 0.1212 -0.1463)
OKLCHoklch(51.18% 0.19 309.6)
XYZxyz(19.9975, 11.6566, 45.4434)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873BB6 #6AB63B
analogous
#4A3BB6 #873BB6 #B63BA8
triadic
#873BB6 #B6873B #3BB687
tetradic
#873BB6 #B64A3B #6AB63B #3BA8B6
square
#873BB6 #B64A3B #6AB63B #3BA8B6
split-complementary
#873BB6 #A8B63B #3BB64A
monochromatic
#421D5A #652C88 #873BB6 #A462CC #BF90DB

Accessibility & contrast

On white

6.30
#873BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#873BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873BB6
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873BB6#FFFFFF#000000##FFFFFF
##873BB61.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBA
Deuteranopia (green-blind)
#2761B3
Tritanopia (blue-blind)
#805574
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #873bb6;
/* rgb */ color: rgb(135, 59, 182);
/* oklch */ color: oklch(51.2% 0.190 309.6);
Tailwind
colors: {
  custom: {
    50: '#ae77cd',
    500: '#873bb6',
    950: '#000000',
  },
}
SCSS
$custom: #873bb6;
$custom-light: #ae77cd;
$custom-dark: #000000;
JSON
{
  "hex": "#873bb6",
  "rgb": {
    "r": 135,
    "g": 59,
    "b": 182
  },
  "hsl": {
    "h": 277.073,
    "s": 51.037,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51178,
    "c": 0.19002,
    "h": 309.6
  },
  "luminance": 0.11656
}

Semantic roles & 50–950 ramp

primary
#873BB6
secondary
#9FC687
accent
#DB4D83
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #873BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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