#873DC0#873DC0

#873DC0 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 52.1% C 0.198 H 306.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#873DC0
RGBrgb(135, 61, 192)
HSLhsl(274, 52%, 50%)
HSVhsv(274, 68%, 75%)
CMYKcmyk(29.7%, 68.2%, 0%, 24.7%)
CIE-LABlab(41.68, 54.48, -55.99)
CIE-LCHlch(41.68, 78.12, 314.21°)
OKLaboklab(52.12% 0.118 -0.1588)
OKLCHoklch(52.12% 0.198 306.6)
XYZxyz(21.1728, 12.2944, 51.1166)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873DC0 #76C03D
analogous
#453DC0 #873DC0 #C03DB8
triadic
#873DC0 #C0873D #3DC087
tetradic
#873DC0 #C0453D #76C03D #3DB8C0
square
#873DC0 #C0453D #76C03D #3DB8C0
split-complementary
#873DC0 #B8C03D #3DC045
monochromatic
#461F63 #662E92 #873DC0 #A46AD0 #C099DF

Accessibility & contrast

On white

6.07
#873DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#873DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873DC0
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873DC0#FFFFFF#000000##FFFFFF
##873DC01.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#1863BD
Tritanopia (blue-blind)
#7D5A7A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #873dc0;
/* rgb */ color: rgb(135, 61, 192);
/* oklch */ color: oklch(52.1% 0.198 306.6);
Tailwind
colors: {
  custom: {
    50: '#ae78d4',
    500: '#873dc0',
    950: '#000000',
  },
}
SCSS
$custom: #873dc0;
$custom-light: #ae78d4;
$custom-dark: #000000;
JSON
{
  "hex": "#873dc0",
  "rgb": {
    "r": 135,
    "g": 61,
    "b": 192
  },
  "hsl": {
    "h": 273.893,
    "s": 51.779,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52121,
    "c": 0.1978,
    "h": 306.6
  },
  "luminance": 0.12294
}

Semantic roles & 50–950 ramp

primary
#873DC0
secondary
#A9CA8E
accent
#DB4D8B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #873DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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