#873BC1#873BC1

#873BC1 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.201 H 306.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#873BC1
RGBrgb(135, 59, 193)
HSLhsl(274, 53%, 49%)
HSVhsv(274, 69%, 76%)
CMYKcmyk(30.1%, 69.4%, 0%, 24.3%)
CIE-LABlab(41.42, 55.62, -56.99)
CIE-LCHlch(41.42, 79.64, 314.30°)
OKLaboklab(51.96% 0.12 -0.1617)
OKLCHoklch(51.96% 0.201 306.6)
XYZxyz(21.1792, 12.1293, 51.6672)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873BC1 #75C13B
analogous
#443BC1 #873BC1 #C13BB8
triadic
#873BC1 #C1873B #3BC187
tetradic
#873BC1 #C1443B #75C13B #3BB8C1
square
#873BC1 #C1443B #75C13B #3BB8C1
split-complementary
#873BC1 #B8C13B #3BC144
monochromatic
#451E63 #662D92 #873BC1 #A468D1 #C097DF

Accessibility & contrast

On white

6.13
#873BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#873BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873BC1
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873BC1#FFFFFF#000000##FFFFFF
##873BC11.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#1062BE
Tritanopia (blue-blind)
#7D597A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #873bc1;
/* rgb */ color: rgb(135, 59, 193);
/* oklch */ color: oklch(52.0% 0.201 306.6);
Tailwind
colors: {
  custom: {
    50: '#af77d5',
    500: '#873bc1',
    950: '#000000',
  },
}
SCSS
$custom: #873bc1;
$custom-light: #af77d5;
$custom-dark: #000000;
JSON
{
  "hex": "#873bc1",
  "rgb": {
    "r": 135,
    "g": 59,
    "b": 193
  },
  "hsl": {
    "h": 274.03,
    "s": 53.175,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51958,
    "c": 0.20135,
    "h": 306.6
  },
  "luminance": 0.12129
}

Semantic roles & 50–950 ramp

primary
#873BC1
secondary
#A8CB8D
accent
#DD4B8A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #873BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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