#873BDB#873BDB

#873BDB is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.9% C 0.228 H 300.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#873BDB
RGBrgb(135, 59, 219)
HSLhsl(269, 69%, 55%)
HSVhsv(269, 73%, 86%)
CMYKcmyk(38.4%, 73.1%, 0%, 14.1%)
CIE-LABlab(43.35, 61.69, -68.88)
CIE-LCHlch(43.35, 92.47, 311.85°)
OKLaboklab(53.93% 0.1154 -0.1967)
OKLCHoklch(53.93% 0.228 300.4)
XYZxyz(24.3387, 13.3931, 68.3070)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873BDB #8FDB3B
analogous
#3B3FDB #873BDB #D73BDB
triadic
#873BDB #DB873B #3BDB87
tetradic
#873BDB #DB3B3F #8FDB3B #3BDBD7
square
#873BDB #DB3B3F #8FDB3B #3BDBD7
split-complementary
#873BDB #DBD73B #3FDB3B
monochromatic
#4B1883 #6922B7 #873BDB #A76FE4 #C6A2EE

Accessibility & contrast

On white

5.71
#873BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#873BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873BDB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873BDB#FFFFFF#000000##FFFFFF
##873BDB1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E0
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#746488
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #873bdb;
/* rgb */ color: rgb(135, 59, 219);
/* oklch */ color: oklch(53.9% 0.228 300.4);
Tailwind
colors: {
  custom: {
    50: '#b178e7',
    500: '#873bdb',
    950: '#000000',
  },
}
SCSS
$custom: #873bdb;
$custom-light: #b178e7;
$custom-dark: #000000;
JSON
{
  "hex": "#873bdb",
  "rgb": {
    "r": 135,
    "g": 59,
    "b": 219
  },
  "hsl": {
    "h": 268.5,
    "s": 68.966,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53931,
    "c": 0.22804,
    "h": 300.4
  },
  "luminance": 0.13393
}

Semantic roles & 50–950 ramp

primary
#873BDB
secondary
#BBDB97
accent
#EC3C98
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #873BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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