#873391#873391

#873391 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.8% C 0.165 H 323.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#873391
RGBrgb(135, 51, 145)
HSLhsl(294, 48%, 38%)
HSVhsv(294, 65%, 57%)
CMYKcmyk(6.9%, 64.8%, 0%, 43.1%)
CIE-LABlab(37.05, 49.06, -35.37)
CIE-LCHlch(37.05, 60.48, 324.21°)
OKLaboklab(47.83% 0.1319 -0.0983)
OKLCHoklch(47.83% 0.165 323.3)
XYZxyz(16.2859, 9.5638, 27.7707)
Luminance0.0956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873391 #3D9133
analogous
#583391 #873391 #91336C
triadic
#873391 #918733 #339187
tetradic
#873391 #915833 #3D9133 #336C91
square
#873391 #915833 #3D9133 #336C91
split-complementary
#873391 #6C9133 #339158
monochromatic
#331336 #5D2364 #873391 #B044BD #C371CD

Accessibility & contrast

On white

7.21
#873391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#873391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #873391
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873391#FFFFFF#000000##FFFFFF
##8733911.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5194
Deuteranopia (green-blind)
#415B8F
Tritanopia (blue-blind)
#89415D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #873391;
/* rgb */ color: rgb(135, 51, 145);
/* oklch */ color: oklch(47.8% 0.165 323.3);
Tailwind
colors: {
  custom: {
    50: '#ad71b2',
    500: '#873391',
    950: '#000000',
  },
}
SCSS
$custom: #873391;
$custom-light: #ad71b2;
$custom-dark: #000000;
JSON
{
  "hex": "#873391",
  "rgb": {
    "r": 135,
    "g": 51,
    "b": 145
  },
  "hsl": {
    "h": 293.617,
    "s": 47.959,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47834,
    "c": 0.16456,
    "h": 323.3
  },
  "luminance": 0.09563
}

Semantic roles & 50–950 ramp

primary
#873391
secondary
#73B56B
accent
#D8505F
background
#FAF7FB
surface
#F5EDF6
border
#CFC8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #873391

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

Preview Lab → · Contrast checker → · Palette generator →

#873391 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva