#873DBA#873DBA

#873DBA is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.7% C 0.192 H 308.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#873DBA
RGBrgb(135, 61, 186)
HSLhsl(276, 51%, 48%)
HSVhsv(276, 67%, 73%)
CMYKcmyk(27.4%, 67.2%, 0%, 27.1%)
CIE-LABlab(41.27, 53.10, -53.14)
CIE-LCHlch(41.27, 75.13, 314.98°)
OKLaboklab(51.7% 0.1186 -0.1504)
OKLCHoklch(51.7% 0.192 308.3)
XYZxyz(20.5215, 12.0339, 47.6865)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873DBA #70BA3D
analogous
#483DBA #873DBA #BA3DAE
triadic
#873DBA #BA873D #3DBA87
tetradic
#873DBA #BA483D #70BA3D #3DAEBA
square
#873DBA #BA483D #70BA3D #3DAEBA
split-complementary
#873DBA #AEBA3D #3DBA48
monochromatic
#441F5E #662E8C #873DBA #A367CD #BF95DC

Accessibility & contrast

On white

6.16
#873DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#873DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873DBA
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873DBA#FFFFFF#000000##FFFFFF
##873DBA1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#2362B7
Tritanopia (blue-blind)
#7F5876
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #873dba;
/* rgb */ color: rgb(135, 61, 186);
/* oklch */ color: oklch(51.7% 0.192 308.3);
Tailwind
colors: {
  custom: {
    50: '#ae78cf',
    500: '#873dba',
    950: '#000000',
  },
}
SCSS
$custom: #873dba;
$custom-light: #ae78cf;
$custom-dark: #000000;
JSON
{
  "hex": "#873dba",
  "rgb": {
    "r": 135,
    "g": 61,
    "b": 186
  },
  "hsl": {
    "h": 275.52,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51697,
    "c": 0.19154,
    "h": 308.3
  },
  "luminance": 0.12034
}

Semantic roles & 50–950 ramp

primary
#873DBA
secondary
#A4C88B
accent
#DA4E87
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #873DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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