#873CBF#873CBF

#873CBF is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.9% C 0.198 H 307.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#873CBF
RGBrgb(135, 60, 191)
HSLhsl(274, 52%, 49%)
HSVhsv(274, 69%, 75%)
CMYKcmyk(29.3%, 68.6%, 0%, 25.1%)
CIE-LABlab(41.44, 54.71, -55.79)
CIE-LCHlch(41.44, 78.14, 314.44°)
OKLaboklab(51.93% 0.1192 -0.1582)
OKLCHoklch(51.93% 0.198 307)
XYZxyz(21.0095, 12.1444, 50.5174)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873CBF #74BF3C
analogous
#463CBF #873CBF #BF3CB6
triadic
#873CBF #BF873C #3CBF87
tetradic
#873CBF #BF463C #74BF3C #3CB6BF
square
#873CBF #BF463C #74BF3C #3CB6BF
split-complementary
#873CBF #B6BF3C #3CBF46
monochromatic
#451F62 #662D90 #873CBF #A468D0 #C097DE

Accessibility & contrast

On white

6.12
#873CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #873CBF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873CBF#FFFFFF#000000##FFFFFF
##873CBF1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#1862BC
Tritanopia (blue-blind)
#7E5979
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #873cbf;
/* rgb */ color: rgb(135, 60, 191);
/* oklch */ color: oklch(51.9% 0.198 307.0);
Tailwind
colors: {
  custom: {
    50: '#ae77d3',
    500: '#873cbf',
    950: '#000000',
  },
}
SCSS
$custom: #873cbf;
$custom-light: #ae77d3;
$custom-dark: #000000;
JSON
{
  "hex": "#873cbf",
  "rgb": {
    "r": 135,
    "g": 60,
    "b": 191
  },
  "hsl": {
    "h": 274.351,
    "s": 52.191,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51931,
    "c": 0.19803,
    "h": 307
  },
  "luminance": 0.12144
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #873CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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