#873BDD#873BDD

#873BDD is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.1% C 0.230 H 300.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#873BDD
RGBrgb(135, 59, 221)
HSLhsl(268, 70%, 55%)
HSVhsv(268, 73%, 87%)
CMYKcmyk(38.9%, 73.3%, 0%, 13.3%)
CIE-LABlab(43.51, 62.17, -69.77)
CIE-LCHlch(43.51, 93.45, 311.70°)
OKLaboklab(54.09% 0.115 -0.1993)
OKLCHoklch(54.09% 0.23 300)
XYZxyz(24.6035, 13.4990, 69.7019)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873BDD #91DD3B
analogous
#3B40DD #873BDD #D83BDD
triadic
#873BDD #DD873B #3BDD87
tetradic
#873BDD #DD3B40 #91DD3B #3BDDD8
square
#873BDD #DD3B40 #91DD3B #3BDDD8
split-complementary
#873BDD #DDD83B #40DD3B
monochromatic
#4B1786 #6920BA #873BDD #A76FE6 #C7A3EF

Accessibility & contrast

On white

5.68
#873BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#873BDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873BDD
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873BDD#FFFFFF#000000##FFFFFF
##873BDD1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E2
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#736489
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #873bdd;
/* rgb */ color: rgb(135, 59, 221);
/* oklch */ color: oklch(54.1% 0.230 300.0);
Tailwind
colors: {
  custom: {
    50: '#b178e9',
    500: '#873bdd',
    950: '#000000',
  },
}
SCSS
$custom: #873bdd;
$custom-light: #b178e9;
$custom-dark: #000000;
JSON
{
  "hex": "#873bdd",
  "rgb": {
    "r": 135,
    "g": 59,
    "b": 221
  },
  "hsl": {
    "h": 268.148,
    "s": 70.435,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5409,
    "c": 0.23008,
    "h": 300
  },
  "luminance": 0.13499
}

Semantic roles & 50–950 ramp

primary
#873BDD
secondary
#BCDC98
accent
#ED3B99
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #873BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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