#873BBF#873BBF

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

Color values

HEX#873BBF
RGBrgb(135, 59, 191)
HSLhsl(275, 53%, 49%)
HSVhsv(275, 69%, 75%)
CMYKcmyk(29.3%, 69.1%, 0%, 25.1%)
CIE-LABlab(41.28, 55.17, -56.05)
CIE-LCHlch(41.28, 78.65, 314.54°)
OKLaboklab(51.81% 0.1202 -0.1589)
OKLCHoklch(51.81% 0.199 307.1)
XYZxyz(20.9576, 12.0407, 50.5001)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873BBF #73BF3B
analogous
#453BBF #873BBF #BF3BB5
triadic
#873BBF #BF873B #3BBF87
tetradic
#873BBF #BF453B #73BF3B #3BB5BF
square
#873BBF #BF453B #73BF3B #3BB5BF
split-complementary
#873BBF #B5BF3B #3BBF45
monochromatic
#451E61 #662D90 #873BBF #A467D0 #C096DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##873BBF#FFFFFF#000000##FFFFFF
##873BBF1.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)
#005FC3
Deuteranopia (green-blind)
#1662BC
Tritanopia (blue-blind)
#7E5879
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #873bbf;
/* rgb */ color: rgb(135, 59, 191);
/* oklch */ color: oklch(51.8% 0.199 307.1);
Tailwind
colors: {
  custom: {
    50: '#ae77d3',
    500: '#873bbf',
    950: '#000000',
  },
}
SCSS
$custom: #873bbf;
$custom-light: #ae77d3;
$custom-dark: #000000;
JSON
{
  "hex": "#873bbf",
  "rgb": {
    "r": 135,
    "g": 59,
    "b": 191
  },
  "hsl": {
    "h": 274.545,
    "s": 52.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51814,
    "c": 0.19929,
    "h": 307.1
  },
  "luminance": 0.1204
}

Semantic roles & 50–950 ramp

primary
#873BBF
secondary
#A6CA8C
accent
#DC4C89
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #873BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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