#872076#872076

#872076 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.167 H 335.7°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#872076
RGBrgb(135, 32, 118)
HSLhsl(310, 62%, 33%)
HSVhsv(310, 76%, 53%)
CMYKcmyk(0%, 76.3%, 12.6%, 47.1%)
CIE-LABlab(32.90, 51.86, -25.16)
CIE-LCHlch(32.90, 57.64, 334.12°)
OKLaboklab(44.37% 0.1518 -0.0687)
OKLCHoklch(44.37% 0.167 335.7)
XYZxyz(13.7784, 7.4932, 17.8567)
Luminance0.0749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872076 #208731
analogous
#642087 #872076 #872042
triadic
#872076 #768720 #207687
tetradic
#872076 #876420 #208731 #204287
square
#872076 #876420 #208731 #204287
split-complementary
#872076 #428720 #208764
monochromatic
#240920 #56144B #872076 #B82CA1 #D54DBE

Accessibility & contrast

On white

8.41
#872076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#872076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872076
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872076#FFFFFF#000000##FFFFFF
##8720761.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214478
Deuteranopia (green-blind)
#455374
Tritanopia (blue-blind)
#8E2849
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #872076;
/* rgb */ color: rgb(135, 32, 118);
/* oklch */ color: oklch(44.4% 0.167 335.7);
Tailwind
colors: {
  custom: {
    50: '#ad679e',
    500: '#872076',
    950: '#000000',
  },
}
SCSS
$custom: #872076;
$custom-light: #ad679e;
$custom-dark: #000000;
JSON
{
  "hex": "#872076",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 309.903,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44366,
    "c": 0.16663,
    "h": 335.7
  },
  "luminance": 0.07492
}

Semantic roles & 50–950 ramp

primary
#872076
secondary
#4BB85D
accent
#E55E43
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872076

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

Preview Lab → · Contrast checker → · Palette generator →

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