#873CC1#873CC1

#873CC1 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.1% C 0.200 H 306.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#873CC1
RGBrgb(135, 60, 193)
HSLhsl(274, 53%, 50%)
HSVhsv(274, 69%, 76%)
CMYKcmyk(30.1%, 68.9%, 0%, 24.3%)
CIE-LABlab(41.58, 55.17, -56.73)
CIE-LCHlch(41.58, 79.13, 314.20°)
OKLaboklab(52.08% 0.1189 -0.1609)
OKLCHoklch(52.08% 0.2 306.5)
XYZxyz(21.2311, 12.2331, 51.6845)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873CC1 #76C13C
analogous
#453CC1 #873CC1 #C13CB8
triadic
#873CC1 #C1873C #3CC187
tetradic
#873CC1 #C1453C #76C13C #3CB8C1
square
#873CC1 #C1453C #76C13C #3CB8C1
split-complementary
#873CC1 #B8C13C #3CC145
monochromatic
#461F64 #662D92 #873CC1 #A46AD1 #C098DF

Accessibility & contrast

On white

6.09
#873CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#873CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873CC1
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873CC1#FFFFFF#000000##FFFFFF
##873CC11.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#1363BE
Tritanopia (blue-blind)
#7D5A7A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #873cc1;
/* rgb */ color: rgb(135, 60, 193);
/* oklch */ color: oklch(52.1% 0.200 306.5);
Tailwind
colors: {
  custom: {
    50: '#af77d5',
    500: '#873cc1',
    950: '#000000',
  },
}
SCSS
$custom: #873cc1;
$custom-light: #af77d5;
$custom-dark: #000000;
JSON
{
  "hex": "#873cc1",
  "rgb": {
    "r": 135,
    "g": 60,
    "b": 193
  },
  "hsl": {
    "h": 273.835,
    "s": 52.569,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52075,
    "c": 0.2001,
    "h": 306.5
  },
  "luminance": 0.12233
}

Semantic roles & 50–950 ramp

primary
#873CC1
secondary
#A9CB8E
accent
#DC4C8B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #873CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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