#873DCE#873DCE

#873DCE is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.1% C 0.212 H 303.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#873DCE
RGBrgb(135, 61, 206)
HSLhsl(271, 60%, 52%)
HSVhsv(271, 70%, 81%)
CMYKcmyk(34.5%, 70.4%, 0%, 19.2%)
CIE-LABlab(42.68, 57.74, -62.50)
CIE-LCHlch(42.68, 85.09, 312.73°)
OKLaboklab(53.15% 0.116 -0.1779)
OKLCHoklch(53.15% 0.212 303.1)
XYZxyz(22.7984, 12.9446, 59.6780)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873DCE #84CE3D
analogous
#3F3DCE #873DCE #CE3DCC
triadic
#873DCE #CE873D #3DCE87
tetradic
#873DCE #CE3F3D #84CE3D #3DCCCE
square
#873DCE #CE3F3D #84CE3D #3DCCCE
split-complementary
#873DCE #CCCE3D #3DCE3F
monochromatic
#491D73 #6829A4 #873DCE #A56EDA #C39FE7

Accessibility & contrast

On white

5.85
#873DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#873DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873DCE
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873DCE#FFFFFF#000000##FFFFFF
##873DCE1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#795F81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #873dce;
/* rgb */ color: rgb(135, 61, 206);
/* oklch */ color: oklch(53.1% 0.212 303.1);
Tailwind
colors: {
  custom: {
    50: '#b078de',
    500: '#873dce',
    950: '#000000',
  },
}
SCSS
$custom: #873dce;
$custom-light: #b078de;
$custom-dark: #000000;
JSON
{
  "hex": "#873dce",
  "rgb": {
    "r": 135,
    "g": 61,
    "b": 206
  },
  "hsl": {
    "h": 270.621,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53149,
    "c": 0.21238,
    "h": 303.1
  },
  "luminance": 0.12945
}

Semantic roles & 50–950 ramp

primary
#873DCE
secondary
#B3D394
accent
#E34592
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #873DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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