#873CCD#873CCD

#873CCD is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.0% C 0.213 H 303.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#873CCD
RGBrgb(135, 60, 205)
HSLhsl(271, 59%, 52%)
HSVhsv(271, 71%, 80%)
CMYKcmyk(34.1%, 70.7%, 0%, 19.6%)
CIE-LABlab(42.45, 57.95, -62.30)
CIE-LCHlch(42.45, 85.09, 312.93°)
OKLaboklab(52.96% 0.1172 -0.1773)
OKLCHoklch(52.96% 0.213 303.5)
XYZxyz(22.6244, 12.7904, 59.0227)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873CCD #82CD3C
analogous
#3E3CCD #873CCD #CD3CCB
triadic
#873CCD #CD873C #3CCD87
tetradic
#873CCD #CD3E3C #82CD3C #3CCBCD
square
#873CCD #CD3E3C #82CD3C #3CCBCD
split-complementary
#873CCD #CBCD3C #3CCD3E
monochromatic
#491D71 #682AA2 #873CCD #A56DD9 #C39DE6

Accessibility & contrast

On white

5.90
#873CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#873CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873CCD
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873CCD#FFFFFF#000000##FFFFFF
##873CCD1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#795E81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #873ccd;
/* rgb */ color: rgb(135, 60, 205);
/* oklch */ color: oklch(53.0% 0.213 303.5);
Tailwind
colors: {
  custom: {
    50: '#af78dd',
    500: '#873ccd',
    950: '#000000',
  },
}
SCSS
$custom: #873ccd;
$custom-light: #af78dd;
$custom-dark: #000000;
JSON
{
  "hex": "#873ccd",
  "rgb": {
    "r": 135,
    "g": 60,
    "b": 205
  },
  "hsl": {
    "h": 271.034,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5296,
    "c": 0.21252,
    "h": 303.5
  },
  "luminance": 0.1279
}

Semantic roles & 50–950 ramp

primary
#873CCD
secondary
#B1D293
accent
#E24591
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #873CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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