#873FCF#873FCF

#873FCF is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.5% C 0.211 H 302.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#873FCF
RGBrgb(135, 63, 207)
HSLhsl(270, 60%, 53%)
HSVhsv(270, 70%, 81%)
CMYKcmyk(34.8%, 69.6%, 0%, 18.8%)
CIE-LABlab(43.08, 57.06, -62.43)
CIE-LCHlch(43.08, 84.58, 312.42°)
OKLaboklab(53.46% 0.1138 -0.1777)
OKLCHoklch(53.46% 0.211 302.6)
XYZxyz(23.0290, 13.2109, 60.3561)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873FCF #87CF3F
analogous
#3F3FCF #873FCF #CF3FCF
triadic
#873FCF #CF873F #3FCF87
tetradic
#873FCF #CF3F3F #87CF3F #3FCFCF
square
#873FCF #CF3F3F #87CF3F #3FCFCF
split-complementary
#873FCF #CFCF3F #3FCF3F
monochromatic
#4A1E76 #682AA7 #873FCF #A670DB #C4A1E7

Accessibility & contrast

On white

5.77
#873FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#873FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873FCF
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873FCF#FFFFFF#000000##FFFFFF
##873FCF1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #873fcf;
/* rgb */ color: rgb(135, 63, 207);
/* oklch */ color: oklch(53.5% 0.211 302.6);
Tailwind
colors: {
  custom: {
    50: '#af7adf',
    500: '#873fcf',
    950: '#000000',
  },
}
SCSS
$custom: #873fcf;
$custom-light: #af7adf;
$custom-dark: #000000;
JSON
{
  "hex": "#873fcf",
  "rgb": {
    "r": 135,
    "g": 63,
    "b": 207
  },
  "hsl": {
    "h": 270,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53457,
    "c": 0.21104,
    "h": 302.6
  },
  "luminance": 0.13211
}

Semantic roles & 50–950 ramp

primary
#873FCF
secondary
#B5D496
accent
#E34594
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #873FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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