#873AC0#873AC0

#873AC0 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.8% C 0.202 H 306.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#873AC0
RGBrgb(135, 58, 192)
HSLhsl(274, 54%, 49%)
HSVhsv(274, 70%, 75%)
CMYKcmyk(29.7%, 69.8%, 0%, 24.7%)
CIE-LABlab(41.19, 55.85, -56.79)
CIE-LCHlch(41.19, 79.65, 314.52°)
OKLaboklab(51.77% 0.1212 -0.1611)
OKLCHoklch(51.77% 0.202 306.9)
XYZxyz(21.0171, 11.9830, 51.0647)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873AC0 #73C03A
analogous
#443AC0 #873AC0 #C03AB6
triadic
#873AC0 #C0873A #3AC087
tetradic
#873AC0 #C0443A #73C03A #3AB6C0
square
#873AC0 #C0443A #73C03A #3AB6C0
split-complementary
#873AC0 #B6C03A #3AC044
monochromatic
#451E62 #662C91 #873AC0 #A466D1 #C095DF

Accessibility & contrast

On white

6.18
#873AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#873AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873AC0
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873AC0#FFFFFF#000000##FFFFFF
##873AC01.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#1062BD
Tritanopia (blue-blind)
#7D5879
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #873ac0;
/* rgb */ color: rgb(135, 58, 192);
/* oklch */ color: oklch(51.8% 0.202 306.9);
Tailwind
colors: {
  custom: {
    50: '#af76d4',
    500: '#873ac0',
    950: '#000000',
  },
}
SCSS
$custom: #873ac0;
$custom-light: #af76d4;
$custom-dark: #000000;
JSON
{
  "hex": "#873ac0",
  "rgb": {
    "r": 135,
    "g": 58,
    "b": 192
  },
  "hsl": {
    "h": 274.478,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5177,
    "c": 0.20156,
    "h": 306.9
  },
  "luminance": 0.11983
}

Semantic roles & 50–950 ramp

primary
#873AC0
secondary
#A6CA8B
accent
#DD4B89
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #873AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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