#873EBD#873EBD

#873EBD is a mid, vivid violet. Relative luminance 0.123; OKLCH L 52.0% C 0.193 H 307.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#873EBD
RGBrgb(135, 62, 189)
HSLhsl(274, 51%, 49%)
HSVhsv(274, 67%, 74%)
CMYKcmyk(28.6%, 67.2%, 0%, 25.9%)
CIE-LABlab(41.64, 53.32, -54.30)
CIE-LCHlch(41.64, 76.10, 314.48°)
OKLaboklab(52.03% 0.1172 -0.1538)
OKLCHoklch(52.03% 0.193 307.3)
XYZxyz(20.8977, 12.2705, 49.4018)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873EBD #74BD3E
analogous
#473EBD #873EBD #BD3EB4
triadic
#873EBD #BD873E #3EBD87
tetradic
#873EBD #BD473E #74BD3E #3EB4BD
square
#873EBD #BD473E #74BD3E #3EB4BD
split-complementary
#873EBD #B4BD3E #3EBD47
monochromatic
#452061 #662F8F #873EBD #A46ACE #C098DD

Accessibility & contrast

On white

6.08
#873EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#873EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873EBD
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873EBD#FFFFFF#000000##FFFFFF
##873EBD1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#2063BA
Tritanopia (blue-blind)
#7E5978
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #873ebd;
/* rgb */ color: rgb(135, 62, 189);
/* oklch */ color: oklch(52.0% 0.193 307.3);
Tailwind
colors: {
  custom: {
    50: '#ae78d2',
    500: '#873ebd',
    950: '#000000',
  },
}
SCSS
$custom: #873ebd;
$custom-light: #ae78d2;
$custom-dark: #000000;
JSON
{
  "hex": "#873ebd",
  "rgb": {
    "r": 135,
    "g": 62,
    "b": 189
  },
  "hsl": {
    "h": 274.488,
    "s": 50.598,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52029,
    "c": 0.19337,
    "h": 307.3
  },
  "luminance": 0.1227
}

Semantic roles & 50–950 ramp

primary
#873EBD
secondary
#A7C98E
accent
#DA4E89
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #873EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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