#873AC3#873AC3

#873AC3 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.205 H 306.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#873AC3
RGBrgb(135, 58, 195)
HSLhsl(274, 54%, 50%)
HSVhsv(274, 70%, 76%)
CMYKcmyk(30.8%, 70.3%, 0%, 23.5%)
CIE-LABlab(41.40, 56.53, -58.19)
CIE-LCHlch(41.40, 81.13, 314.17°)
OKLaboklab(51.99% 0.1207 -0.1652)
OKLCHoklch(51.99% 0.205 306.2)
XYZxyz(21.3529, 12.1173, 52.8332)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873AC3 #76C33A
analogous
#433AC3 #873AC3 #C33ABA
triadic
#873AC3 #C3873A #3AC387
tetradic
#873AC3 #C3433A #76C33A #3ABAC3
square
#873AC3 #C3433A #76C33A #3ABAC3
split-complementary
#873AC3 #BAC33A #3AC343
monochromatic
#461E65 #662C94 #873AC3 #A468D2 #C097E0

Accessibility & contrast

On white

6.13
#873AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#873AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873AC3
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873AC3#FFFFFF#000000##FFFFFF
##873AC31.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#0362C0
Tritanopia (blue-blind)
#7D597A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #873ac3;
/* rgb */ color: rgb(135, 58, 195);
/* oklch */ color: oklch(52.0% 0.205 306.2);
Tailwind
colors: {
  custom: {
    50: '#af76d6',
    500: '#873ac3',
    950: '#000000',
  },
}
SCSS
$custom: #873ac3;
$custom-light: #af76d6;
$custom-dark: #000000;
JSON
{
  "hex": "#873ac3",
  "rgb": {
    "r": 135,
    "g": 58,
    "b": 195
  },
  "hsl": {
    "h": 273.723,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51989,
    "c": 0.20462,
    "h": 306.2
  },
  "luminance": 0.12117
}

Semantic roles & 50–950 ramp

primary
#873AC3
secondary
#A9CC8D
accent
#DE4A8B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #873AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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