#873DD5#873DD5

#873DD5 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.7% C 0.220 H 301.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#873DD5
RGBrgb(135, 61, 213)
HSLhsl(269, 64%, 54%)
HSVhsv(269, 71%, 84%)
CMYKcmyk(36.6%, 71.4%, 0%, 16.5%)
CIE-LABlab(43.20, 59.39, -65.69)
CIE-LCHlch(43.20, 88.56, 312.12°)
OKLaboklab(53.68% 0.1148 -0.1873)
OKLCHoklch(53.68% 0.22 301.5)
XYZxyz(23.6678, 13.2924, 64.2567)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873DD5 #8BD53D
analogous
#3D3FD5 #873DD5 #D33DD5
triadic
#873DD5 #D5873D #3DD587
tetradic
#873DD5 #D53D3F #8BD53D #3DD5D3
square
#873DD5 #D53D3F #8BD53D #3DD5D3
split-complementary
#873DD5 #D5D33D #3FD53D
monochromatic
#4B1B7D #6926AF #873DD5 #A66FE0 #C5A2EB

Accessibility & contrast

On white

5.74
#873DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#873DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873DD5
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873DD5#FFFFFF#000000##FFFFFF
##873DD51.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D9
Deuteranopia (green-blind)
#0065D2
Tritanopia (blue-blind)
#766285
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #873dd5;
/* rgb */ color: rgb(135, 61, 213);
/* oklch */ color: oklch(53.7% 0.220 301.5);
Tailwind
colors: {
  custom: {
    50: '#b079e3',
    500: '#873dd5',
    950: '#000000',
  },
}
SCSS
$custom: #873dd5;
$custom-light: #b079e3;
$custom-dark: #000000;
JSON
{
  "hex": "#873dd5",
  "rgb": {
    "r": 135,
    "g": 61,
    "b": 213
  },
  "hsl": {
    "h": 269.211,
    "s": 64.407,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53682,
    "c": 0.21965,
    "h": 301.5
  },
  "luminance": 0.13292
}

Semantic roles & 50–950 ramp

primary
#873DD5
secondary
#B8D796
accent
#E74096
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #873DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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