#873AC1#873AC1

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

Color values

HEX#873AC1
RGBrgb(135, 58, 193)
HSLhsl(274, 54%, 49%)
HSVhsv(274, 70%, 76%)
CMYKcmyk(30.1%, 69.9%, 0%, 24.3%)
CIE-LABlab(41.26, 56.08, -57.26)
CIE-LCHlch(41.26, 80.14, 314.40°)
OKLaboklab(51.84% 0.121 -0.1625)
OKLCHoklch(51.84% 0.203 306.7)
XYZxyz(21.1283, 12.0275, 51.6502)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873AC1 #74C13A
analogous
#433AC1 #873AC1 #C13AB8
triadic
#873AC1 #C1873A #3AC187
tetradic
#873AC1 #C1433A #74C13A #3AB8C1
square
#873AC1 #C1433A #74C13A #3AB8C1
split-complementary
#873AC1 #B8C13A #3AC143
monochromatic
#451E63 #662C92 #873AC1 #A467D1 #C096DF

Accessibility & contrast

On white

6.17
#873AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#873AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873AC1
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873AC1#FFFFFF#000000##FFFFFF
##873AC11.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#0C62BE
Tritanopia (blue-blind)
#7D5979
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #873ac1;
/* rgb */ color: rgb(135, 58, 193);
/* oklch */ color: oklch(51.8% 0.203 306.7);
Tailwind
colors: {
  custom: {
    50: '#af76d5',
    500: '#873ac1',
    950: '#000000',
  },
}
SCSS
$custom: #873ac1;
$custom-light: #af76d5;
$custom-dark: #000000;
JSON
{
  "hex": "#873ac1",
  "rgb": {
    "r": 135,
    "g": 58,
    "b": 193
  },
  "hsl": {
    "h": 274.222,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51843,
    "c": 0.20258,
    "h": 306.7
  },
  "luminance": 0.12027
}

Semantic roles & 50–950 ramp

primary
#873AC1
secondary
#A7CB8C
accent
#DD4B8A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #873AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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