#873EB0#873EB0

#873EB0 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.1% C 0.180 H 311.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#873EB0
RGBrgb(135, 62, 176)
HSLhsl(278, 48%, 47%)
HSVhsv(278, 65%, 69%)
CMYKcmyk(23.3%, 64.8%, 0%, 31%)
CIE-LABlab(40.79, 50.38, -48.03)
CIE-LCHlch(40.79, 69.60, 316.37°)
OKLaboklab(51.14% 0.1182 -0.1354)
OKLCHoklch(51.14% 0.18 311.1)
XYZxyz(19.5493, 11.7312, 42.3004)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873EB0 #67B03E
analogous
#4E3EB0 #873EB0 #B03EA0
triadic
#873EB0 #B0873E #3EB087
tetradic
#873EB0 #B04E3E #67B03E #3EA0B0
square
#873EB0 #B04E3E #67B03E #3EA0B0
split-complementary
#873EB0 #A0B03E #3EB04E
monochromatic
#421E55 #642E83 #873EB0 #A463C8 #BE90D8

Accessibility & contrast

On white

6.28
#873EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#873EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873EB0
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873EB0#FFFFFF#000000##FFFFFF
##873EB01.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB3
Deuteranopia (green-blind)
#3262AD
Tritanopia (blue-blind)
#825571
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #873eb0;
/* rgb */ color: rgb(135, 62, 176);
/* oklch */ color: oklch(51.1% 0.180 311.1);
Tailwind
colors: {
  custom: {
    50: '#ad78c8',
    500: '#873eb0',
    950: '#000000',
  },
}
SCSS
$custom: #873eb0;
$custom-light: #ad78c8;
$custom-dark: #000000;
JSON
{
  "hex": "#873eb0",
  "rgb": {
    "r": 135,
    "g": 62,
    "b": 176
  },
  "hsl": {
    "h": 278.421,
    "s": 47.899,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51139,
    "c": 0.17971,
    "h": 311.1
  },
  "luminance": 0.11731
}

Semantic roles & 50–950 ramp

primary
#873EB0
secondary
#9CC387
accent
#D75081
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #873EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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