#873BBE#873BBE

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

Color values

HEX#873BBE
RGBrgb(135, 59, 190)
HSLhsl(275, 53%, 49%)
HSVhsv(275, 69%, 75%)
CMYKcmyk(28.9%, 68.9%, 0%, 25.5%)
CIE-LABlab(41.21, 54.94, -55.58)
CIE-LCHlch(41.21, 78.15, 314.67°)
OKLaboklab(51.74% 0.1204 -0.1575)
OKLCHoklch(51.74% 0.198 307.4)
XYZxyz(20.8479, 11.9968, 49.9225)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873BBE #72BE3B
analogous
#463BBE #873BBE #BE3BB4
triadic
#873BBE #BE873B #3BBE87
tetradic
#873BBE #BE463B #72BE3B #3BB4BE
square
#873BBE #BE463B #72BE3B #3BB4BE
split-complementary
#873BBE #B4BE3B #3BBE46
monochromatic
#451E61 #662C8F #873BBE #A467D0 #C095DE

Accessibility & contrast

On white

6.18
#873BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#873BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873BBE
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873BBE#FFFFFF#000000##FFFFFF
##873BBE1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#1862BB
Tritanopia (blue-blind)
#7E5878
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #873bbe;
/* rgb */ color: rgb(135, 59, 190);
/* oklch */ color: oklch(51.7% 0.198 307.4);
Tailwind
colors: {
  custom: {
    50: '#ae77d2',
    500: '#873bbe',
    950: '#000000',
  },
}
SCSS
$custom: #873bbe;
$custom-light: #ae77d2;
$custom-dark: #000000;
JSON
{
  "hex": "#873bbe",
  "rgb": {
    "r": 135,
    "g": 59,
    "b": 190
  },
  "hsl": {
    "h": 274.809,
    "s": 52.61,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51742,
    "c": 0.19826,
    "h": 307.4
  },
  "luminance": 0.11997
}

Semantic roles & 50–950 ramp

primary
#873BBE
secondary
#A5CA8B
accent
#DC4C88
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #873BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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