#873CCF#873CCF

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

Color values

HEX#873CCF
RGBrgb(135, 60, 207)
HSLhsl(271, 60%, 52%)
HSVhsv(271, 71%, 81%)
CMYKcmyk(34.8%, 71%, 0%, 18.8%)
CIE-LABlab(42.59, 58.42, -63.22)
CIE-LCHlch(42.59, 86.08, 312.74°)
OKLaboklab(53.11% 0.1168 -0.18)
OKLCHoklch(53.11% 0.215 303)
XYZxyz(22.8674, 12.8876, 60.3022)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873CCF #84CF3C
analogous
#3D3CCF #873CCF #CF3CCE
triadic
#873CCF #CF873C #3CCF87
tetradic
#873CCF #CF3D3C #84CF3C #3CCECF
square
#873CCF #CF3D3C #84CF3C #3CCECF
split-complementary
#873CCF #CECF3C #3CCF3D
monochromatic
#491D74 #6829A5 #873CCF #A56DDB #C39EE7

Accessibility & contrast

On white

5.87
#873CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#873CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873CCF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873CCF#FFFFFF#000000##FFFFFF
##873CCF1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#785F82
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #873ccf;
/* rgb */ color: rgb(135, 60, 207);
/* oklch */ color: oklch(53.1% 0.215 303.0);
Tailwind
colors: {
  custom: {
    50: '#b078df',
    500: '#873ccf',
    950: '#000000',
  },
}
SCSS
$custom: #873ccf;
$custom-light: #b078df;
$custom-dark: #000000;
JSON
{
  "hex": "#873ccf",
  "rgb": {
    "r": 135,
    "g": 60,
    "b": 207
  },
  "hsl": {
    "h": 270.612,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53111,
    "c": 0.21459,
    "h": 303
  },
  "luminance": 0.12888
}

Semantic roles & 50–950 ramp

primary
#873CCF
secondary
#B3D393
accent
#E44492
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #873CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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