#873BBA#873BBA

#873BBA is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.5% C 0.194 H 308.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#873BBA
RGBrgb(135, 59, 186)
HSLhsl(276, 52%, 48%)
HSVhsv(276, 68%, 73%)
CMYKcmyk(27.4%, 68.3%, 0%, 27.1%)
CIE-LABlab(40.94, 54.04, -53.68)
CIE-LCHlch(40.94, 76.17, 315.19°)
OKLaboklab(51.46% 0.1208 -0.152)
OKLCHoklch(51.46% 0.194 308.5)
XYZxyz(20.4168, 11.8243, 47.6516)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873BBA #6EBA3B
analogous
#483BBA #873BBA #BA3BAD
triadic
#873BBA #BA873B #3BBA87
tetradic
#873BBA #BA483B #6EBA3B #3BADBA
square
#873BBA #BA483B #6EBA3B #3BADBA
split-complementary
#873BBA #ADBA3B #3BBA48
monochromatic
#441E5D #652C8C #873BBA #A364CE #BF93DD

Accessibility & contrast

On white

6.24
#873BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#873BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873BBA
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873BBA#FFFFFF#000000##FFFFFF
##873BBA1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#2061B7
Tritanopia (blue-blind)
#7F5776
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #873bba;
/* rgb */ color: rgb(135, 59, 186);
/* oklch */ color: oklch(51.5% 0.194 308.5);
Tailwind
colors: {
  custom: {
    50: '#ae77cf',
    500: '#873bba',
    950: '#000000',
  },
}
SCSS
$custom: #873bba;
$custom-light: #ae77cf;
$custom-dark: #000000;
JSON
{
  "hex": "#873bba",
  "rgb": {
    "r": 135,
    "g": 59,
    "b": 186
  },
  "hsl": {
    "h": 275.906,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51457,
    "c": 0.19414,
    "h": 308.5
  },
  "luminance": 0.11824
}

Semantic roles & 50–950 ramp

primary
#873BBA
secondary
#A2C889
accent
#DB4D86
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #873BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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