#873FC3#873FC3

#873FC3 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.6% C 0.198 H 305.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#873FC3
RGBrgb(135, 63, 195)
HSLhsl(273, 52%, 51%)
HSVhsv(273, 68%, 76%)
CMYKcmyk(30.8%, 67.7%, 0%, 23.5%)
CIE-LABlab(42.23, 54.23, -56.86)
CIE-LCHlch(42.23, 78.58, 313.65°)
OKLaboklab(52.58% 0.1155 -0.1613)
OKLCHoklch(52.58% 0.198 305.6)
XYZxyz(21.6173, 12.6462, 52.9213)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873FC3 #7BC33F
analogous
#453FC3 #873FC3 #C33FBD
triadic
#873FC3 #C3873F #3FC387
tetradic
#873FC3 #C3453F #7BC33F #3FBDC3
square
#873FC3 #C3453F #7BC33F #3FBDC3
split-complementary
#873FC3 #BDC33F #3FC345
monochromatic
#472067 #672F96 #873FC3 #A46ED2 #C19CE0

Accessibility & contrast

On white

5.95
#873FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#873FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873FC3
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873FC3#FFFFFF#000000##FFFFFF
##873FC31.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C7
Deuteranopia (green-blind)
#1564C0
Tritanopia (blue-blind)
#7C5C7C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #873fc3;
/* rgb */ color: rgb(135, 63, 195);
/* oklch */ color: oklch(52.6% 0.198 305.6);
Tailwind
colors: {
  custom: {
    50: '#af79d6',
    500: '#873fc3',
    950: '#000000',
  },
}
SCSS
$custom: #873fc3;
$custom-light: #af79d6;
$custom-dark: #000000;
JSON
{
  "hex": "#873fc3",
  "rgb": {
    "r": 135,
    "g": 63,
    "b": 195
  },
  "hsl": {
    "h": 272.727,
    "s": 52.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52577,
    "c": 0.19839,
    "h": 305.6
  },
  "luminance": 0.12646
}

Semantic roles & 50–950 ramp

primary
#873FC3
secondary
#ACCC92
accent
#DC4C8D
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #873FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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