#873BC0#873BC0

#873BC0 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.9% C 0.200 H 306.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#873BC0
RGBrgb(135, 59, 192)
HSLhsl(274, 53%, 49%)
HSVhsv(274, 69%, 75%)
CMYKcmyk(29.7%, 69.3%, 0%, 24.7%)
CIE-LABlab(41.35, 55.40, -56.52)
CIE-LCHlch(41.35, 79.14, 314.42°)
OKLaboklab(51.89% 0.1201 -0.1603)
OKLCHoklch(51.89% 0.2 306.8)
XYZxyz(21.0680, 12.0848, 51.0817)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873BC0 #74C03B
analogous
#453BC0 #873BC0 #C03BB7
triadic
#873BC0 #C0873B #3BC087
tetradic
#873BC0 #C0453B #74C03B #3BB7C0
square
#873BC0 #C0453B #74C03B #3BB7C0
split-complementary
#873BC0 #B7C03B #3BC045
monochromatic
#451E62 #662D91 #873BC0 #A468D1 #C097DF

Accessibility & contrast

On white

6.15
#873BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #873BC0
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873BC0#FFFFFF#000000##FFFFFF
##873BC01.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#1362BD
Tritanopia (blue-blind)
#7D5979
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #873bc0;
/* rgb */ color: rgb(135, 59, 192);
/* oklch */ color: oklch(51.9% 0.200 306.8);
Tailwind
colors: {
  custom: {
    50: '#af77d4',
    500: '#873bc0',
    950: '#000000',
  },
}
SCSS
$custom: #873bc0;
$custom-light: #af77d4;
$custom-dark: #000000;
JSON
{
  "hex": "#873bc0",
  "rgb": {
    "r": 135,
    "g": 59,
    "b": 192
  },
  "hsl": {
    "h": 274.286,
    "s": 52.988,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51886,
    "c": 0.20032,
    "h": 306.8
  },
  "luminance": 0.12085
}

Semantic roles & 50–950 ramp

primary
#873BC0
secondary
#A7CA8C
accent
#DC4B8A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #873BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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