#873DD6#873DD6

#873DD6 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.8% C 0.221 H 301.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#873DD6
RGBrgb(135, 61, 214)
HSLhsl(269, 65%, 54%)
HSVhsv(269, 71%, 84%)
CMYKcmyk(36.9%, 71.5%, 0%, 16.1%)
CIE-LABlab(43.28, 59.63, -66.14)
CIE-LCHlch(43.28, 89.05, 312.04°)
OKLaboklab(53.76% 0.1146 -0.1886)
OKLCHoklch(53.76% 0.221 301.3)
XYZxyz(23.7951, 13.3433, 64.9272)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873DD6 #8CD63D
analogous
#3D40D6 #873DD6 #D43DD6
triadic
#873DD6 #D6873D #3DD687
tetradic
#873DD6 #D63D40 #8CD63D #3DD6D4
square
#873DD6 #D63D40 #8CD63D #3DD6D4
split-complementary
#873DD6 #D6D43D #40D63D
monochromatic
#4B1B7E #6925B1 #873DD6 #A670E1 #C6A2EB

Accessibility & contrast

On white

5.72
#873DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#873DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873DD6
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873DD6#FFFFFF#000000##FFFFFF
##873DD61.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DA
Deuteranopia (green-blind)
#0065D3
Tritanopia (blue-blind)
#766386
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #873dd6;
/* rgb */ color: rgb(135, 61, 214);
/* oklch */ color: oklch(53.8% 0.221 301.3);
Tailwind
colors: {
  custom: {
    50: '#b079e4',
    500: '#873dd6',
    950: '#000000',
  },
}
SCSS
$custom: #873dd6;
$custom-light: #b079e4;
$custom-dark: #000000;
JSON
{
  "hex": "#873dd6",
  "rgb": {
    "r": 135,
    "g": 61,
    "b": 214
  },
  "hsl": {
    "h": 269.02,
    "s": 65.106,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5376,
    "c": 0.22068,
    "h": 301.3
  },
  "luminance": 0.13343
}

Semantic roles & 50–950 ramp

primary
#873DD6
secondary
#B8D897
accent
#E84097
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #873DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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