#873BBB#873BBB

#873BBB is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.5% C 0.195 H 308.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#873BBB
RGBrgb(135, 59, 187)
HSLhsl(276, 52%, 48%)
HSVhsv(276, 68%, 73%)
CMYKcmyk(27.8%, 68.4%, 0%, 26.7%)
CIE-LABlab(41.00, 54.26, -54.16)
CIE-LCHlch(41.00, 76.66, 315.05°)
OKLaboklab(51.53% 0.1207 -0.1534)
OKLCHoklch(51.53% 0.195 308.2)
XYZxyz(20.5234, 11.8670, 48.2135)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873BBB #6FBB3B
analogous
#473BBB #873BBB #BB3BAF
triadic
#873BBB #BB873B #3BBB87
tetradic
#873BBB #BB473B #6FBB3B #3BAFBB
square
#873BBB #BB473B #6FBB3B #3BAFBB
split-complementary
#873BBB #AFBB3B #3BBB47
monochromatic
#441E5E #652C8C #873BBB #A365CE #BF93DD

Accessibility & contrast

On white

6.23
#873BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#873BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873BBB
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873BBB#FFFFFF#000000##FFFFFF
##873BBB1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#1F61B8
Tritanopia (blue-blind)
#7F5776
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #873bbb;
/* rgb */ color: rgb(135, 59, 187);
/* oklch */ color: oklch(51.5% 0.195 308.2);
Tailwind
colors: {
  custom: {
    50: '#ae77d0',
    500: '#873bbb',
    950: '#000000',
  },
}
SCSS
$custom: #873bbb;
$custom-light: #ae77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#873bbb",
  "rgb": {
    "r": 135,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 275.625,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51528,
    "c": 0.19517,
    "h": 308.2
  },
  "luminance": 0.11867
}

Semantic roles & 50–950 ramp

primary
#873BBB
secondary
#A3C88A
accent
#DB4C86
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #873BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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