#873BB3#873BB3

#873BB3 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 51.0% C 0.187 H 310.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#873BB3
RGBrgb(135, 59, 179)
HSLhsl(278, 50%, 47%)
HSVhsv(278, 67%, 70%)
CMYKcmyk(24.6%, 67%, 0%, 29.8%)
CIE-LABlab(40.47, 52.47, -50.32)
CIE-LCHlch(40.47, 72.70, 316.20°)
OKLaboklab(50.97% 0.1215 -0.1421)
OKLCHoklch(50.97% 0.187 310.5)
XYZxyz(19.6908, 11.5339, 43.8281)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873BB3 #67B33B
analogous
#4B3BB3 #873BB3 #B33BA3
triadic
#873BB3 #B3873B #3BB387
tetradic
#873BB3 #B34B3B #67B33B #3BA3B3
square
#873BB3 #B34B3B #67B33B #3BA3B3
split-complementary
#873BB3 #A3B33B #3BB34B
monochromatic
#421D57 #642C85 #873BB3 #A460CB #BE8EDA

Accessibility & contrast

On white

6.35
#873BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#873BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873BB3
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873BB3#FFFFFF#000000##FFFFFF
##873BB31.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#2B61B0
Tritanopia (blue-blind)
#815472
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #873bb3;
/* rgb */ color: rgb(135, 59, 179);
/* oklch */ color: oklch(51.0% 0.187 310.5);
Tailwind
colors: {
  custom: {
    50: '#ae76ca',
    500: '#873bb3',
    950: '#000000',
  },
}
SCSS
$custom: #873bb3;
$custom-light: #ae76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#873bb3",
  "rgb": {
    "r": 135,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 278,
    "s": 50.42,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50971,
    "c": 0.18693,
    "h": 310.5
  },
  "luminance": 0.11533
}

Semantic roles & 50–950 ramp

primary
#873BB3
secondary
#9CC585
accent
#DA4E81
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #873BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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