#873DBD#873DBD

#873DBD is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.9% C 0.195 H 307.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#873DBD
RGBrgb(135, 61, 189)
HSLhsl(275, 51%, 49%)
HSVhsv(275, 68%, 74%)
CMYKcmyk(28.6%, 67.7%, 0%, 25.9%)
CIE-LABlab(41.47, 53.79, -54.57)
CIE-LCHlch(41.47, 76.62, 314.59°)
OKLaboklab(51.91% 0.1183 -0.1546)
OKLCHoklch(51.91% 0.195 307.4)
XYZxyz(20.8438, 12.1628, 49.3838)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873DBD #73BD3D
analogous
#473DBD #873DBD #BD3DB3
triadic
#873DBD #BD873D #3DBD87
tetradic
#873DBD #BD473D #73BD3D #3DB3BD
square
#873DBD #BD473D #73BD3D #3DB3BD
split-complementary
#873DBD #B3BD3D #3DBD47
monochromatic
#451F60 #662E8F #873DBD #A469CE #C097DD

Accessibility & contrast

On white

6.12
#873DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#873DBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873DBD
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873DBD#FFFFFF#000000##FFFFFF
##873DBD1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#1E62BA
Tritanopia (blue-blind)
#7E5978
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #873dbd;
/* rgb */ color: rgb(135, 61, 189);
/* oklch */ color: oklch(51.9% 0.195 307.4);
Tailwind
colors: {
  custom: {
    50: '#ae78d2',
    500: '#873dbd',
    950: '#000000',
  },
}
SCSS
$custom: #873dbd;
$custom-light: #ae78d2;
$custom-dark: #000000;
JSON
{
  "hex": "#873dbd",
  "rgb": {
    "r": 135,
    "g": 61,
    "b": 189
  },
  "hsl": {
    "h": 274.688,
    "s": 51.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51908,
    "c": 0.19467,
    "h": 307.4
  },
  "luminance": 0.12163
}

Semantic roles & 50–950 ramp

primary
#873DBD
secondary
#A6C98D
accent
#DB4D89
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #873DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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