#873CC0#873CC0

#873CC0 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 52.0% C 0.199 H 306.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#873CC0
RGBrgb(135, 60, 192)
HSLhsl(274, 52%, 49%)
HSVhsv(274, 69%, 75%)
CMYKcmyk(29.7%, 68.7%, 0%, 24.7%)
CIE-LABlab(41.51, 54.94, -56.26)
CIE-LCHlch(41.51, 78.64, 314.32°)
OKLaboklab(52% 0.119 -0.1595)
OKLCHoklch(52% 0.199 306.7)
XYZxyz(21.1199, 12.1886, 51.0990)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873CC0 #75C03C
analogous
#453CC0 #873CC0 #C03CB7
triadic
#873CC0 #C0873C #3CC087
tetradic
#873CC0 #C0453C #75C03C #3CB7C0
square
#873CC0 #C0453C #75C03C #3CB7C0
split-complementary
#873CC0 #B7C03C #3CC045
monochromatic
#451F63 #662D91 #873CC0 #A469D0 #C098DF

Accessibility & contrast

On white

6.11
#873CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#873CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873CC0
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873CC0#FFFFFF#000000##FFFFFF
##873CC01.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#1562BD
Tritanopia (blue-blind)
#7D5979
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #873cc0;
/* rgb */ color: rgb(135, 60, 192);
/* oklch */ color: oklch(52.0% 0.199 306.7);
Tailwind
colors: {
  custom: {
    50: '#af77d4',
    500: '#873cc0',
    950: '#000000',
  },
}
SCSS
$custom: #873cc0;
$custom-light: #af77d4;
$custom-dark: #000000;
JSON
{
  "hex": "#873cc0",
  "rgb": {
    "r": 135,
    "g": 60,
    "b": 192
  },
  "hsl": {
    "h": 274.091,
    "s": 52.381,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52003,
    "c": 0.19906,
    "h": 306.7
  },
  "luminance": 0.12188
}

Semantic roles & 50–950 ramp

primary
#873CC0
secondary
#A8CA8D
accent
#DC4C8A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #873CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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