#873CC8#873CC8

#873CC8 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.6% C 0.207 H 304.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#873CC8
RGBrgb(135, 60, 200)
HSLhsl(272, 56%, 51%)
HSVhsv(272, 70%, 78%)
CMYKcmyk(32.5%, 70%, 0%, 21.6%)
CIE-LABlab(42.08, 56.78, -60.00)
CIE-LCHlch(42.08, 82.61, 313.42°)
OKLaboklab(52.59% 0.1179 -0.1705)
OKLCHoklch(52.59% 0.207 304.7)
XYZxyz(22.0305, 12.5529, 55.8947)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873CC8 #7DC83C
analogous
#413CC8 #873CC8 #C83CC3
triadic
#873CC8 #C8873C #3CC887
tetradic
#873CC8 #C8413C #7DC83C #3CC3C8
square
#873CC8 #C8413C #7DC83C #3CC3C8
split-complementary
#873CC8 #C3C83C #3CC841
monochromatic
#481E6B #672C9B #873CC8 #A46CD5 #C29BE3

Accessibility & contrast

On white

5.98
#873CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#873CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873CC8
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873CC8#FFFFFF#000000##FFFFFF
##873CC81.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#7B5D7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #873cc8;
/* rgb */ color: rgb(135, 60, 200);
/* oklch */ color: oklch(52.6% 0.207 304.7);
Tailwind
colors: {
  custom: {
    50: '#af78da',
    500: '#873cc8',
    950: '#000000',
  },
}
SCSS
$custom: #873cc8;
$custom-light: #af78da;
$custom-dark: #000000;
JSON
{
  "hex": "#873cc8",
  "rgb": {
    "r": 135,
    "g": 60,
    "b": 200
  },
  "hsl": {
    "h": 272.143,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52586,
    "c": 0.20736,
    "h": 304.7
  },
  "luminance": 0.12553
}

Semantic roles & 50–950 ramp

primary
#873CC8
secondary
#AECF91
accent
#DF498F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #873CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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