#872979#872979

#872979 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.4% C 0.158 H 334.4°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#872979
RGBrgb(135, 41, 121)
HSLhsl(309, 53%, 35%)
HSVhsv(309, 70%, 53%)
CMYKcmyk(0%, 69.6%, 10.4%, 47.1%)
CIE-LABlab(34.23, 49.03, -24.97)
CIE-LCHlch(34.23, 55.02, 333.01°)
OKLaboklab(45.37% 0.1424 -0.0682)
OKLCHoklch(45.37% 0.158 334.4)
XYZxyz(14.2359, 8.1184, 18.9027)
Luminance0.0812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872979 #298737
analogous
#662987 #872979 #87294A
triadic
#872979 #798729 #297987
tetradic
#872979 #876629 #298737 #294A87
square
#872979 #876629 #298737 #294A87
split-complementary
#872979 #4A8729 #298766
monochromatic
#290C25 #581B4F #872979 #B637A3 #CE5DBD

Accessibility & contrast

On white

8.00
#872979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#872979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872979
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872979#FFFFFF#000000##FFFFFF
##8729791.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28487B
Deuteranopia (green-blind)
#485577
Tritanopia (blue-blind)
#8D304D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #872979;
/* rgb */ color: rgb(135, 41, 121);
/* oklch */ color: oklch(45.4% 0.158 334.4);
Tailwind
colors: {
  custom: {
    50: '#ad6ba0',
    500: '#872979',
    950: '#000000',
  },
}
SCSS
$custom: #872979;
$custom-light: #ad6ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#872979",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 121
  },
  "hsl": {
    "h": 308.936,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45372,
    "c": 0.15785,
    "h": 334.4
  },
  "luminance": 0.08117
}

Semantic roles & 50–950 ramp

primary
#872979
secondary
#59B366
accent
#DD614B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872979

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

Preview Lab → · Contrast checker → · Palette generator →

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