#873CBD#873CBD

#873CBD is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.8% C 0.196 H 307.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#873CBD
RGBrgb(135, 60, 189)
HSLhsl(275, 52%, 49%)
HSVhsv(275, 68%, 74%)
CMYKcmyk(28.6%, 68.3%, 0%, 25.9%)
CIE-LABlab(41.31, 54.25, -54.84)
CIE-LCHlch(41.31, 77.14, 314.69°)
OKLaboklab(51.79% 0.1194 -0.1554)
OKLCHoklch(51.79% 0.196 307.5)
XYZxyz(20.7909, 12.0570, 49.3662)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873CBD #72BD3C
analogous
#473CBD #873CBD #BD3CB3
triadic
#873CBD #BD873C #3CBD87
tetradic
#873CBD #BD473C #72BD3C #3CB3BD
square
#873CBD #BD473C #72BD3C #3CB3BD
split-complementary
#873CBD #B3BD3C #3CBD47
monochromatic
#451F60 #662D8F #873CBD #A467CF #C096DE

Accessibility & contrast

On white

6.16
#873CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#873CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873CBD
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873CBD#FFFFFF#000000##FFFFFF
##873CBD1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#1C62BA
Tritanopia (blue-blind)
#7E5878
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #873cbd;
/* rgb */ color: rgb(135, 60, 189);
/* oklch */ color: oklch(51.8% 0.196 307.5);
Tailwind
colors: {
  custom: {
    50: '#ae77d2',
    500: '#873cbd',
    950: '#000000',
  },
}
SCSS
$custom: #873cbd;
$custom-light: #ae77d2;
$custom-dark: #000000;
JSON
{
  "hex": "#873cbd",
  "rgb": {
    "r": 135,
    "g": 60,
    "b": 189
  },
  "hsl": {
    "h": 274.884,
    "s": 51.807,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51788,
    "c": 0.19595,
    "h": 307.5
  },
  "luminance": 0.12057
}

Semantic roles & 50–950 ramp

primary
#873CBD
secondary
#A5C98C
accent
#DB4D88
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #873CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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