#873CD3#873CD3

#873CD3 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.4% C 0.219 H 302.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#873CD3
RGBrgb(135, 60, 211)
HSLhsl(270, 63%, 53%)
HSVhsv(270, 72%, 83%)
CMYKcmyk(36%, 71.6%, 0%, 17.3%)
CIE-LABlab(42.89, 59.36, -65.04)
CIE-LCHlch(42.89, 88.06, 312.39°)
OKLaboklab(53.42% 0.1161 -0.1854)
OKLCHoklch(53.42% 0.219 302.1)
XYZxyz(23.3626, 13.0857, 62.9104)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873CD3 #88D33C
analogous
#3C3CD3 #873CD3 #D23CD3
triadic
#873CD3 #D3873C #3CD387
tetradic
#873CD3 #D33C3C #88D33C #3CD3D2
square
#873CD3 #D33C3C #88D33C #3CD3D2
split-complementary
#873CD3 #D3D23C #3CD33C
monochromatic
#4A1B79 #6827AB #873CD3 #A66EDE #C4A0EA

Accessibility & contrast

On white

5.81
#873CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #873CD3
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873CD3#FFFFFF#000000##FFFFFF
##873CD31.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D7
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#776184
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #873cd3;
/* rgb */ color: rgb(135, 60, 211);
/* oklch */ color: oklch(53.4% 0.219 302.1);
Tailwind
colors: {
  custom: {
    50: '#b078e1',
    500: '#873cd3',
    950: '#000000',
  },
}
SCSS
$custom: #873cd3;
$custom-light: #b078e1;
$custom-dark: #000000;
JSON
{
  "hex": "#873cd3",
  "rgb": {
    "r": 135,
    "g": 60,
    "b": 211
  },
  "hsl": {
    "h": 269.801,
    "s": 63.18,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53417,
    "c": 0.21872,
    "h": 302.1
  },
  "luminance": 0.13086
}

Semantic roles & 50–950 ramp

primary
#873CD3
secondary
#B6D695
accent
#E64294
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #873CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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