#873ABC#873ABC

#873ABC is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.5% C 0.197 H 308.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#873ABC
RGBrgb(135, 58, 188)
HSLhsl(276, 53%, 48%)
HSVhsv(276, 69%, 74%)
CMYKcmyk(28.2%, 69.1%, 0%, 26.3%)
CIE-LABlab(40.91, 54.94, -54.90)
CIE-LCHlch(40.91, 77.67, 315.02°)
OKLaboklab(51.48% 0.1217 -0.1555)
OKLCHoklch(51.48% 0.197 308)
XYZxyz(20.5800, 11.8082, 48.7622)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873ABC #6FBC3A
analogous
#463ABC #873ABC #BC3AB0
triadic
#873ABC #BC873A #3ABC87
tetradic
#873ABC #BC463A #6FBC3A #3AB0BC
square
#873ABC #BC463A #6FBC3A #3AB0BC
split-complementary
#873ABC #B0BC3A #3ABC46
monochromatic
#441D5E #652C8D #873ABC #A364CF #BF93DE

Accessibility & contrast

On white

6.25
#873ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#873ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873ABC
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873ABC#FFFFFF#000000##FFFFFF
##873ABC1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#1B61B9
Tritanopia (blue-blind)
#7F5777
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #873abc;
/* rgb */ color: rgb(135, 58, 188);
/* oklch */ color: oklch(51.5% 0.197 308.0);
Tailwind
colors: {
  custom: {
    50: '#ae76d1',
    500: '#873abc',
    950: '#000000',
  },
}
SCSS
$custom: #873abc;
$custom-light: #ae76d1;
$custom-dark: #000000;
JSON
{
  "hex": "#873abc",
  "rgb": {
    "r": 135,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 275.538,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51482,
    "c": 0.19747,
    "h": 308
  },
  "luminance": 0.11808
}

Semantic roles & 50–950 ramp

primary
#873ABC
secondary
#A3C989
accent
#DC4C87
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #873ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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