#873FB3#873FB3

#873FB3 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.5% C 0.181 H 310.1°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#873FB3
RGBrgb(135, 63, 179)
HSLhsl(277, 48%, 47%)
HSVhsv(277, 65%, 70%)
CMYKcmyk(24.6%, 64.8%, 0%, 29.8%)
CIE-LABlab(41.15, 50.57, -49.21)
CIE-LCHlch(41.15, 70.56, 315.78°)
OKLaboklab(51.47% 0.1168 -0.1389)
OKLCHoklch(51.47% 0.181 310.1)
XYZxyz(19.9043, 11.9610, 43.8992)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873FB3 #6BB33F
analogous
#4D3FB3 #873FB3 #B33FA5
triadic
#873FB3 #B3873F #3FB387
tetradic
#873FB3 #B34D3F #6BB33F #3FA5B3
square
#873FB3 #B34D3F #6BB33F #3FA5B3
split-complementary
#873FB3 #A5B33F #3FB34D
monochromatic
#431F58 #652F86 #873FB3 #A466C9 #BF93D9

Accessibility & contrast

On white

6.19
#873FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#873FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873FB3
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873FB3#FFFFFF#000000##FFFFFF
##873FB31.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#3062B0
Tritanopia (blue-blind)
#815673
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #873fb3;
/* rgb */ color: rgb(135, 63, 179);
/* oklch */ color: oklch(51.5% 0.181 310.1);
Tailwind
colors: {
  custom: {
    50: '#ae79ca',
    500: '#873fb3',
    950: '#000000',
  },
}
SCSS
$custom: #873fb3;
$custom-light: #ae79ca;
$custom-dark: #000000;
JSON
{
  "hex": "#873fb3",
  "rgb": {
    "r": 135,
    "g": 63,
    "b": 179
  },
  "hsl": {
    "h": 277.241,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51466,
    "c": 0.18147,
    "h": 310.1
  },
  "luminance": 0.11961
}

Semantic roles & 50–950 ramp

primary
#873FB3
secondary
#A0C489
accent
#D85084
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #873FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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