#872077#872077

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

Color values

HEX#872077
RGBrgb(135, 32, 119)
HSLhsl(309, 62%, 33%)
HSVhsv(309, 76%, 53%)
CMYKcmyk(0%, 76.3%, 11.9%, 47.1%)
CIE-LABlab(32.96, 52.02, -25.71)
CIE-LCHlch(32.96, 58.02, 333.70°)
OKLaboklab(44.42% 0.1519 -0.0702)
OKLCHoklch(44.42% 0.167 335.2)
XYZxyz(13.8381, 7.5171, 18.1713)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872077 #208730
analogous
#632087 #872077 #872044
triadic
#872077 #778720 #207787
tetradic
#872077 #876320 #208730 #204487
square
#872077 #876320 #208730 #204487
split-complementary
#872077 #448720 #208763
monochromatic
#240920 #56144B #872077 #B82CA3 #D54DC0

Accessibility & contrast

On white

8.39
#872077 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872077
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872077#FFFFFF#000000##FFFFFF
##8720771.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #872077;
/* rgb */ color: rgb(135, 32, 119);
/* oklch */ color: oklch(44.4% 0.167 335.2);
Tailwind
colors: {
  custom: {
    50: '#ad679e',
    500: '#872077',
    950: '#000000',
  },
}
SCSS
$custom: #872077;
$custom-light: #ad679e;
$custom-dark: #000000;
JSON
{
  "hex": "#872077",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 119
  },
  "hsl": {
    "h": 309.32,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4442,
    "c": 0.16737,
    "h": 335.2
  },
  "luminance": 0.07516
}

Semantic roles & 50–950 ramp

primary
#872077
secondary
#4BB85C
accent
#E55C43
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872077

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

Preview Lab → · Contrast checker → · Palette generator →

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