#873BD0#873BD0

#873BD0 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.1% C 0.217 H 302.9°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#873BD0
RGBrgb(135, 59, 208)
HSLhsl(271, 61%, 52%)
HSVhsv(271, 72%, 82%)
CMYKcmyk(35.1%, 71.6%, 0%, 18.4%)
CIE-LABlab(42.51, 59.10, -63.93)
CIE-LCHlch(42.51, 87.06, 312.75°)
OKLaboklab(53.08% 0.1176 -0.1821)
OKLCHoklch(53.08% 0.217 302.9)
XYZxyz(22.9381, 12.8329, 60.9308)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873BD0 #84D03B
analogous
#3D3BD0 #873BD0 #D03BCF
triadic
#873BD0 #D0873B #3BD087
tetradic
#873BD0 #D03D3B #84D03B #3BCFD0
square
#873BD0 #D03D3B #84D03B #3BCFD0
split-complementary
#873BD0 #CFD03B #3BD03D
monochromatic
#491C75 #6828A6 #873BD0 #A56CDC #C39EE8

Accessibility & contrast

On white

5.89
#873BD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#873BD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873BD0
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873BD0#FFFFFF#000000##FFFFFF
##873BD01.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D4
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#785F82
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #873bd0;
/* rgb */ color: rgb(135, 59, 208);
/* oklch */ color: oklch(53.1% 0.217 302.9);
Tailwind
colors: {
  custom: {
    50: '#b077df',
    500: '#873bd0',
    950: '#000000',
  },
}
SCSS
$custom: #873bd0;
$custom-light: #b077df;
$custom-dark: #000000;
JSON
{
  "hex": "#873bd0",
  "rgb": {
    "r": 135,
    "g": 59,
    "b": 208
  },
  "hsl": {
    "h": 270.604,
    "s": 61.317,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53076,
    "c": 0.21677,
    "h": 302.9
  },
  "luminance": 0.12833
}

Semantic roles & 50–950 ramp

primary
#873BD0
secondary
#B3D493
accent
#E44392
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #873BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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