#873CB0#873CB0

#873CB0 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.9% C 0.182 H 311.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#873CB0
RGBrgb(135, 60, 176)
HSLhsl(279, 49%, 46%)
HSVhsv(279, 66%, 69%)
CMYKcmyk(23.3%, 65.9%, 0%, 31%)
CIE-LABlab(40.44, 51.33, -48.58)
CIE-LCHlch(40.44, 70.68, 316.58°)
OKLaboklab(50.89% 0.1205 -0.137)
OKLCHoklch(50.89% 0.182 311.3)
XYZxyz(19.4426, 11.5177, 42.2648)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873CB0 #65B03C
analogous
#4D3CB0 #873CB0 #B03C9F
triadic
#873CB0 #B0873C #3CB087
tetradic
#873CB0 #B04D3C #65B03C #3C9FB0
square
#873CB0 #B04D3C #65B03C #3C9FB0
split-complementary
#873CB0 #9FB03C #3CB04D
monochromatic
#411D55 #642C82 #873CB0 #A460C9 #BE8ED8

Accessibility & contrast

On white

6.36
#873CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#873CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873CB0
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873CB0#FFFFFF#000000##FFFFFF
##873CB01.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #873cb0;
/* rgb */ color: rgb(135, 60, 176);
/* oklch */ color: oklch(50.9% 0.182 311.3);
Tailwind
colors: {
  custom: {
    50: '#ae77c8',
    500: '#873cb0',
    950: '#000000',
  },
}
SCSS
$custom: #873cb0;
$custom-light: #ae77c8;
$custom-dark: #000000;
JSON
{
  "hex": "#873cb0",
  "rgb": {
    "r": 135,
    "g": 60,
    "b": 176
  },
  "hsl": {
    "h": 278.793,
    "s": 49.153,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50889,
    "c": 0.18249,
    "h": 311.3
  },
  "luminance": 0.11517
}

Semantic roles & 50–950 ramp

primary
#873CB0
secondary
#9BC385
accent
#D94F80
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #873CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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