#873DBC#873DBC

#873DBC is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.8% C 0.194 H 307.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#873DBC
RGBrgb(135, 61, 188)
HSLhsl(275, 51%, 49%)
HSVhsv(275, 68%, 74%)
CMYKcmyk(28.2%, 67.6%, 0%, 26.3%)
CIE-LABlab(41.41, 53.56, -54.10)
CIE-LCHlch(41.41, 76.13, 314.71°)
OKLaboklab(51.84% 0.1184 -0.1532)
OKLCHoklch(51.84% 0.194 307.7)
XYZxyz(20.7356, 12.1195, 48.8141)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873DBC #72BC3D
analogous
#483DBC #873DBC #BC3DB2
triadic
#873DBC #BC873D #3DBC87
tetradic
#873DBC #BC483D #72BC3D #3DB2BC
square
#873DBC #BC483D #72BC3D #3DB2BC
split-complementary
#873DBC #B2BC3D #3DBC48
monochromatic
#451F60 #662E8E #873DBC #A468CE #C096DD

Accessibility & contrast

On white

6.13
#873DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#873DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873DBC
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873DBC#FFFFFF#000000##FFFFFF
##873DBC1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#2062B9
Tritanopia (blue-blind)
#7F5878
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #873dbc;
/* rgb */ color: rgb(135, 61, 188);
/* oklch */ color: oklch(51.8% 0.194 307.7);
Tailwind
colors: {
  custom: {
    50: '#ae78d1',
    500: '#873dbc',
    950: '#000000',
  },
}
SCSS
$custom: #873dbc;
$custom-light: #ae78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#873dbc",
  "rgb": {
    "r": 135,
    "g": 61,
    "b": 188
  },
  "hsl": {
    "h": 274.961,
    "s": 51.004,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51837,
    "c": 0.19363,
    "h": 307.7
  },
  "luminance": 0.12119
}

Semantic roles & 50–950 ramp

primary
#873DBC
secondary
#A5C98C
accent
#DA4D88
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #873DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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