#873FBC#873FBC

#873FBC is a mid, vivid violet. Relative luminance 0.123; OKLCH L 52.1% C 0.191 H 307.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#873FBC
RGBrgb(135, 63, 188)
HSLhsl(275, 50%, 49%)
HSVhsv(275, 66%, 74%)
CMYKcmyk(28.2%, 66.5%, 0%, 26.3%)
CIE-LABlab(41.75, 52.61, -53.55)
CIE-LCHlch(41.75, 75.07, 314.50°)
OKLaboklab(52.08% 0.1162 -0.1516)
OKLCHoklch(52.08% 0.191 307.5)
XYZxyz(20.8444, 12.3370, 48.8504)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873FBC #74BC3F
analogous
#493FBC #873FBC #BC3FB3
triadic
#873FBC #BC873F #3FBC87
tetradic
#873FBC #BC493F #74BC3F #3FB3BC
square
#873FBC #BC493F #74BC3F #3FB3BC
split-complementary
#873FBC #B3BC3F #3FBC49
monochromatic
#452060 #66308E #873FBC #A46BCD #C099DD

Accessibility & contrast

On white

6.06
#873FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#873FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873FBC
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873FBC#FFFFFF#000000##FFFFFF
##873FBC1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#2363B9
Tritanopia (blue-blind)
#7F5A78
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #873fbc;
/* rgb */ color: rgb(135, 63, 188);
/* oklch */ color: oklch(52.1% 0.191 307.5);
Tailwind
colors: {
  custom: {
    50: '#ae79d1',
    500: '#873fbc',
    950: '#000000',
  },
}
SCSS
$custom: #873fbc;
$custom-light: #ae79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#873fbc",
  "rgb": {
    "r": 135,
    "g": 63,
    "b": 188
  },
  "hsl": {
    "h": 274.56,
    "s": 49.801,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52082,
    "c": 0.19099,
    "h": 307.5
  },
  "luminance": 0.12337
}

Semantic roles & 50–950 ramp

primary
#873FBC
secondary
#A7C98E
accent
#D94E89
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #873FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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