#872793#872793

#872793 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.182 H 323.0°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#872793
RGBrgb(135, 39, 147)
HSLhsl(293, 58%, 36%)
HSVhsv(293, 73%, 58%)
CMYKcmyk(8.2%, 73.5%, 0%, 42.4%)
CIE-LABlab(35.42, 54.35, -39.19)
CIE-LCHlch(35.42, 67.00, 324.21°)
OKLaboklab(46.7% 0.1453 -0.1094)
OKLCHoklch(46.7% 0.182 323)
XYZxyz(15.9831, 8.7095, 28.4373)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872793 #339327
analogous
#512793 #872793 #932769
triadic
#872793 #938727 #279387
tetradic
#872793 #935127 #339327 #276993
square
#872793 #935127 #339327 #276993
split-complementary
#872793 #699327 #279351
monochromatic
#2E0D32 #5B1A63 #872793 #B334C3 #C860D5

Accessibility & contrast

On white

7.66
#872793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#872793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872793
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872793#FFFFFF#000000##FFFFFF
##8727931.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C96
Deuteranopia (green-blind)
#385790
Tritanopia (blue-blind)
#893A5B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #872793;
/* rgb */ color: rgb(135, 39, 147);
/* oklch */ color: oklch(46.7% 0.182 323.0);
Tailwind
colors: {
  custom: {
    50: '#ad6bb3',
    500: '#872793',
    950: '#000000',
  },
}
SCSS
$custom: #872793;
$custom-light: #ad6bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#872793",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 147
  },
  "hsl": {
    "h": 293.333,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46702,
    "c": 0.18189,
    "h": 323
  },
  "luminance": 0.08709
}

Semantic roles & 50–950 ramp

primary
#872793
secondary
#66BA5C
accent
#E14758
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872793

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

Preview Lab → · Contrast checker → · Palette generator →

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