#873EC0#873EC0

#873EC0 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.2% C 0.197 H 306.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#873EC0
RGBrgb(135, 62, 192)
HSLhsl(274, 51%, 50%)
HSVhsv(274, 68%, 75%)
CMYKcmyk(29.7%, 67.7%, 0%, 24.7%)
CIE-LABlab(41.85, 54.01, -55.72)
CIE-LCHlch(41.85, 77.60, 314.11°)
OKLaboklab(52.24% 0.1169 -0.158)
OKLCHoklch(52.24% 0.197 306.5)
XYZxyz(21.2267, 12.4021, 51.1346)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873EC0 #77C03E
analogous
#463EC0 #873EC0 #C03EB8
triadic
#873EC0 #C0873E #3EC087
tetradic
#873EC0 #C0463E #77C03E #3EB8C0
square
#873EC0 #C0463E #77C03E #3EB8C0
split-complementary
#873EC0 #B8C03E #3EC046
monochromatic
#462063 #662F92 #873EC0 #A46CCF #C09ADE

Accessibility & contrast

On white

6.03
#873EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#873EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873EC0
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873EC0#FFFFFF#000000##FFFFFF
##873EC01.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#1A63BD
Tritanopia (blue-blind)
#7D5B7A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #873ec0;
/* rgb */ color: rgb(135, 62, 192);
/* oklch */ color: oklch(52.2% 0.197 306.5);
Tailwind
colors: {
  custom: {
    50: '#ae79d4',
    500: '#873ec0',
    950: '#000000',
  },
}
SCSS
$custom: #873ec0;
$custom-light: #ae79d4;
$custom-dark: #000000;
JSON
{
  "hex": "#873ec0",
  "rgb": {
    "r": 135,
    "g": 62,
    "b": 192
  },
  "hsl": {
    "h": 273.692,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52241,
    "c": 0.19652,
    "h": 306.5
  },
  "luminance": 0.12402
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #873EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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