#873AC8#873AC8

#873AC8 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.4% C 0.210 H 304.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#873AC8
RGBrgb(135, 58, 200)
HSLhsl(273, 56%, 51%)
HSVhsv(273, 71%, 78%)
CMYKcmyk(32.5%, 71%, 0%, 21.6%)
CIE-LABlab(41.76, 57.68, -60.52)
CIE-LCHlch(41.76, 83.60, 313.63°)
OKLaboklab(52.36% 0.12 -0.172)
OKLCHoklch(52.36% 0.21 304.9)
XYZxyz(21.9277, 12.3473, 55.8604)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873AC8 #7BC83A
analogous
#403AC8 #873AC8 #C83AC2
triadic
#873AC8 #C8873A #3AC887
tetradic
#873AC8 #C8403A #7BC83A #3AC2C8
square
#873AC8 #C8403A #7BC83A #3AC2C8
split-complementary
#873AC8 #C2C83A #3AC840
monochromatic
#471E6A #672B9A #873AC8 #A46AD5 #C19AE3

Accessibility & contrast

On white

6.05
#873AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#873AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873AC8
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873AC8#FFFFFF#000000##FFFFFF
##873AC81.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #873ac8;
/* rgb */ color: rgb(135, 58, 200);
/* oklch */ color: oklch(52.4% 0.210 304.9);
Tailwind
colors: {
  custom: {
    50: '#af77da',
    500: '#873ac8',
    950: '#000000',
  },
}
SCSS
$custom: #873ac8;
$custom-light: #af77da;
$custom-dark: #000000;
JSON
{
  "hex": "#873ac8",
  "rgb": {
    "r": 135,
    "g": 58,
    "b": 200
  },
  "hsl": {
    "h": 272.535,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5236,
    "c": 0.20974,
    "h": 304.9
  },
  "luminance": 0.12347
}

Semantic roles & 50–950 ramp

primary
#873AC8
secondary
#ACCE8F
accent
#E0488E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #873AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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