#873EAD#873EAD

#873EAD is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.9% C 0.177 H 312.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#873EAD
RGBrgb(135, 62, 173)
HSLhsl(279, 47%, 46%)
HSVhsv(279, 64%, 68%)
CMYKcmyk(22%, 64.2%, 0%, 32.2%)
CIE-LABlab(40.60, 49.71, -46.56)
CIE-LCHlch(40.60, 68.11, 316.88°)
OKLaboklab(50.94% 0.1183 -0.1311)
OKLCHoklch(50.94% 0.177 312.1)
XYZxyz(19.2558, 11.6138, 40.7544)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873EAD #64AD3E
analogous
#4F3EAD #873EAD #AD3E9B
triadic
#873EAD #AD873E #3EAD87
tetradic
#873EAD #AD4F3E #64AD3E #3E9BAD
square
#873EAD #AD4F3E #64AD3E #3E9BAD
split-complementary
#873EAD #9BAD3E #3EAD4F
monochromatic
#411E53 #642E80 #873EAD #A462C7 #BE8FD7

Accessibility & contrast

On white

6.32
#873EAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#873EAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873EAD
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873EAD#FFFFFF#000000##FFFFFF
##873EAD1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075CB0
Deuteranopia (green-blind)
#3561AA
Tritanopia (blue-blind)
#835370
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #873ead;
/* rgb */ color: rgb(135, 62, 173);
/* oklch */ color: oklch(50.9% 0.177 312.1);
Tailwind
colors: {
  custom: {
    50: '#ad78c6',
    500: '#873ead',
    950: '#000000',
  },
}
SCSS
$custom: #873ead;
$custom-light: #ad78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#873ead",
  "rgb": {
    "r": 135,
    "g": 62,
    "b": 173
  },
  "hsl": {
    "h": 279.459,
    "s": 47.234,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50941,
    "c": 0.17658,
    "h": 312.1
  },
  "luminance": 0.11613
}

Semantic roles & 50–950 ramp

primary
#873EAD
secondary
#9AC285
accent
#D7517F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #873EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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