#873FCA#873FCA

#873FCA is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.1% C 0.206 H 303.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#873FCA
RGBrgb(135, 63, 202)
HSLhsl(271, 57%, 52%)
HSVhsv(271, 69%, 79%)
CMYKcmyk(33.2%, 68.8%, 0%, 20.8%)
CIE-LABlab(42.72, 55.87, -60.13)
CIE-LCHlch(42.72, 82.08, 312.90°)
OKLaboklab(53.09% 0.1146 -0.1709)
OKLCHoklch(53.09% 0.206 303.8)
XYZxyz(22.4274, 12.9702, 57.1876)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873FCA #82CA3F
analogous
#423FCA #873FCA #CA3FC8
triadic
#873FCA #CA873F #3FCA87
tetradic
#873FCA #CA423F #82CA3F #3FC8CA
square
#873FCA #CA423F #82CA3F #3FC8CA
split-complementary
#873FCA #C8CA3F #3FCA42
monochromatic
#491F70 #682CA0 #873FCA #A56FD7 #C39FE4

Accessibility & contrast

On white

5.84
#873FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#873FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873FCA
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873FCA#FFFFFF#000000##FFFFFF
##873FCA1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#7A5F80
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #873fca;
/* rgb */ color: rgb(135, 63, 202);
/* oklch */ color: oklch(53.1% 0.206 303.8);
Tailwind
colors: {
  custom: {
    50: '#af79db',
    500: '#873fca',
    950: '#000000',
  },
}
SCSS
$custom: #873fca;
$custom-light: #af79db;
$custom-dark: #000000;
JSON
{
  "hex": "#873fca",
  "rgb": {
    "r": 135,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 271.079,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53086,
    "c": 0.20578,
    "h": 303.8
  },
  "luminance": 0.1297
}

Semantic roles & 50–950 ramp

primary
#873FCA
secondary
#B1D194
accent
#E04891
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #873FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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