#873DCF#873DCF

#873DCF is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.2% C 0.213 H 302.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#873DCF
RGBrgb(135, 61, 207)
HSLhsl(270, 60%, 53%)
HSVhsv(270, 71%, 81%)
CMYKcmyk(34.8%, 70.5%, 0%, 18.8%)
CIE-LABlab(42.75, 57.97, -62.96)
CIE-LCHlch(42.75, 85.58, 312.64°)
OKLaboklab(53.23% 0.1158 -0.1793)
OKLCHoklch(53.23% 0.213 302.9)
XYZxyz(22.9203, 12.9934, 60.3198)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873DCF #85CF3D
analogous
#3E3DCF #873DCF #CF3DCE
triadic
#873DCF #CF873D #3DCF87
tetradic
#873DCF #CF3E3D #85CF3D #3DCECF
square
#873DCF #CF3E3D #85CF3D #3DCECF
split-complementary
#873DCF #CECF3D #3DCF3E
monochromatic
#491D75 #6829A6 #873DCF #A56EDB #C49FE7

Accessibility & contrast

On white

5.84
#873DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#873DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873DCF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873DCF#FFFFFF#000000##FFFFFF
##873DCF1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#786082
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #873dcf;
/* rgb */ color: rgb(135, 61, 207);
/* oklch */ color: oklch(53.2% 0.213 302.9);
Tailwind
colors: {
  custom: {
    50: '#b079df',
    500: '#873dcf',
    950: '#000000',
  },
}
SCSS
$custom: #873dcf;
$custom-light: #b079df;
$custom-dark: #000000;
JSON
{
  "hex": "#873dcf",
  "rgb": {
    "r": 135,
    "g": 61,
    "b": 207
  },
  "hsl": {
    "h": 270.411,
    "s": 60.331,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53225,
    "c": 0.21343,
    "h": 302.9
  },
  "luminance": 0.12993
}

Semantic roles & 50–950 ramp

primary
#873DCF
secondary
#B3D494
accent
#E34493
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #873DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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