#873DBE#873DBE

#873DBE is a mid, vivid violet. Relative luminance 0.122; OKLCH L 52.0% C 0.196 H 307.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#873DBE
RGBrgb(135, 61, 190)
HSLhsl(274, 51%, 49%)
HSVhsv(274, 68%, 75%)
CMYKcmyk(28.9%, 67.9%, 0%, 25.5%)
CIE-LABlab(41.54, 54.02, -55.05)
CIE-LCHlch(41.54, 77.12, 314.46°)
OKLaboklab(51.98% 0.1182 -0.156)
OKLCHoklch(51.98% 0.196 307.2)
XYZxyz(20.9527, 12.2063, 49.9575)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873DBE #74BE3D
analogous
#473DBE #873DBE #BE3DB4
triadic
#873DBE #BE873D #3DBE87
tetradic
#873DBE #BE473D #74BE3D #3DB4BE
square
#873DBE #BE473D #74BE3D #3DB4BE
split-complementary
#873DBE #B4BE3D #3DBE47
monochromatic
#451F61 #662E90 #873DBE #A469CF #C098DE

Accessibility & contrast

On white

6.10
#873DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#873DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873DBE
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873DBE#FFFFFF#000000##FFFFFF
##873DBE1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#1C63BB
Tritanopia (blue-blind)
#7E5979
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #873dbe;
/* rgb */ color: rgb(135, 61, 190);
/* oklch */ color: oklch(52.0% 0.196 307.2);
Tailwind
colors: {
  custom: {
    50: '#ae78d2',
    500: '#873dbe',
    950: '#000000',
  },
}
SCSS
$custom: #873dbe;
$custom-light: #ae78d2;
$custom-dark: #000000;
JSON
{
  "hex": "#873dbe",
  "rgb": {
    "r": 135,
    "g": 61,
    "b": 190
  },
  "hsl": {
    "h": 274.419,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51979,
    "c": 0.19571,
    "h": 307.2
  },
  "luminance": 0.12206
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #873DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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