#873FCD#873FCD

#873FCD is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.3% C 0.209 H 303.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#873FCD
RGBrgb(135, 63, 205)
HSLhsl(270, 59%, 53%)
HSVhsv(270, 69%, 80%)
CMYKcmyk(34.1%, 69.3%, 0%, 19.6%)
CIE-LABlab(42.93, 56.58, -61.51)
CIE-LCHlch(42.93, 83.58, 312.61°)
OKLaboklab(53.31% 0.1141 -0.175)
OKLCHoklch(53.31% 0.209 303.1)
XYZxyz(22.7861, 13.1137, 59.0765)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873FCD #85CD3F
analogous
#403FCD #873FCD #CD3FCC
triadic
#873FCD #CD873F #3FCD87
tetradic
#873FCD #CD403F #85CD3F #3FCCCD
square
#873FCD #CD403F #85CD3F #3FCCCD
split-complementary
#873FCD #CCCD3F #3FCD40
monochromatic
#491E74 #682BA4 #873FCD #A570DA #C4A0E6

Accessibility & contrast

On white

5.80
#873FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#873FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873FCD
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873FCD#FFFFFF#000000##FFFFFF
##873FCD1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#796081
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #873fcd;
/* rgb */ color: rgb(135, 63, 205);
/* oklch */ color: oklch(53.3% 0.209 303.1);
Tailwind
colors: {
  custom: {
    50: '#af7add',
    500: '#873fcd',
    950: '#000000',
  },
}
SCSS
$custom: #873fcd;
$custom-light: #af7add;
$custom-dark: #000000;
JSON
{
  "hex": "#873fcd",
  "rgb": {
    "r": 135,
    "g": 63,
    "b": 205
  },
  "hsl": {
    "h": 270.423,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53308,
    "c": 0.20894,
    "h": 303.1
  },
  "luminance": 0.13114
}

Semantic roles & 50–950 ramp

primary
#873FCD
secondary
#B3D395
accent
#E24693
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #873FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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