#873CD0#873CD0

#873CD0 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.2% C 0.216 H 302.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#873CD0
RGBrgb(135, 60, 208)
HSLhsl(270, 61%, 53%)
HSVhsv(270, 71%, 82%)
CMYKcmyk(35.1%, 71.2%, 0%, 18.4%)
CIE-LABlab(42.67, 58.65, -63.68)
CIE-LCHlch(42.67, 86.57, 312.65°)
OKLaboklab(53.19% 0.1166 -0.1814)
OKLCHoklch(53.19% 0.216 302.7)
XYZxyz(22.9900, 12.9367, 60.9481)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873CD0 #85D03C
analogous
#3D3CD0 #873CD0 #D03CCF
triadic
#873CD0 #D0873C #3CD087
tetradic
#873CD0 #D03D3C #85D03C #3CCFD0
square
#873CD0 #D03D3C #85D03C #3CCFD0
split-complementary
#873CD0 #CFD03C #3CD03D
monochromatic
#491C75 #6828A7 #873CD0 #A56DDC #C49FE8

Accessibility & contrast

On white

5.85
#873CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#873CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873CD0
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873CD0#FFFFFF#000000##FFFFFF
##873CD01.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D4
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#786082
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #873cd0;
/* rgb */ color: rgb(135, 60, 208);
/* oklch */ color: oklch(53.2% 0.216 302.7);
Tailwind
colors: {
  custom: {
    50: '#b078df',
    500: '#873cd0',
    950: '#000000',
  },
}
SCSS
$custom: #873cd0;
$custom-light: #b078df;
$custom-dark: #000000;
JSON
{
  "hex": "#873cd0",
  "rgb": {
    "r": 135,
    "g": 60,
    "b": 208
  },
  "hsl": {
    "h": 270.405,
    "s": 61.157,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53187,
    "c": 0.21563,
    "h": 302.7
  },
  "luminance": 0.12937
}

Semantic roles & 50–950 ramp

primary
#873CD0
secondary
#B3D494
accent
#E44493
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #873CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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