#873CC3#873CC3

#873CC3 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.2% C 0.202 H 305.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#873CC3
RGBrgb(135, 60, 195)
HSLhsl(273, 53%, 50%)
HSVhsv(273, 69%, 76%)
CMYKcmyk(30.8%, 69.2%, 0%, 23.5%)
CIE-LABlab(41.72, 55.63, -57.67)
CIE-LCHlch(41.72, 80.13, 313.97°)
OKLaboklab(52.22% 0.1187 -0.1637)
OKLCHoklch(52.22% 0.202 305.9)
XYZxyz(21.4557, 12.3229, 52.8674)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873CC3 #78C33C
analogous
#433CC3 #873CC3 #C33CBC
triadic
#873CC3 #C3873C #3CC387
tetradic
#873CC3 #C3433C #78C33C #3CBCC3
square
#873CC3 #C3433C #78C33C #3CBCC3
split-complementary
#873CC3 #BCC33C #3CC343
monochromatic
#461F65 #672E94 #873CC3 #A46BD1 #C19AE0

Accessibility & contrast

On white

6.06
#873CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#873CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873CC3
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873CC3#FFFFFF#000000##FFFFFF
##873CC31.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#0B63C0
Tritanopia (blue-blind)
#7C5B7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #873cc3;
/* rgb */ color: rgb(135, 60, 195);
/* oklch */ color: oklch(52.2% 0.202 305.9);
Tailwind
colors: {
  custom: {
    50: '#af78d6',
    500: '#873cc3',
    950: '#000000',
  },
}
SCSS
$custom: #873cc3;
$custom-light: #af78d6;
$custom-dark: #000000;
JSON
{
  "hex": "#873cc3",
  "rgb": {
    "r": 135,
    "g": 60,
    "b": 195
  },
  "hsl": {
    "h": 273.333,
    "s": 52.941,
    "l": 50
  },
  "oklch": {
    "l": 0.5222,
    "c": 0.20218,
    "h": 305.9
  },
  "luminance": 0.12323
}

Semantic roles & 50–950 ramp

primary
#873CC3
secondary
#AACC8F
accent
#DC4B8C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #873CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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