#872480#872480

#872480 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.3% C 0.170 H 331.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#872480
RGBrgb(135, 36, 128)
HSLhsl(304, 58%, 34%)
HSVhsv(304, 73%, 53%)
CMYKcmyk(0%, 73.3%, 5.2%, 47.1%)
CIE-LABlab(33.93, 52.09, -29.83)
CIE-LCHlch(33.93, 60.02, 330.20°)
OKLaboklab(45.27% 0.1485 -0.0821)
OKLCHoklch(45.27% 0.17 331)
XYZxyz(14.5188, 7.9723, 21.1920)
Luminance0.0797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872480 #24872B
analogous
#5C2487 #872480 #87244E
triadic
#872480 #808724 #248087
tetradic
#872480 #875C24 #24872B #244E87
square
#872480 #875C24 #24872B #244E87
split-complementary
#872480 #4E8724 #24875C
monochromatic
#260A24 #571752 #872480 #B731AE #D154C9

Accessibility & contrast

On white

8.09
#872480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#872480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872480
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872480#FFFFFF#000000##FFFFFF
##8724801.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4783
Deuteranopia (green-blind)
#42557E
Tritanopia (blue-blind)
#8C304F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #872480;
/* rgb */ color: rgb(135, 36, 128);
/* oklch */ color: oklch(45.3% 0.170 331.0);
Tailwind
colors: {
  custom: {
    50: '#ad69a5',
    500: '#872480',
    950: '#000000',
  },
}
SCSS
$custom: #872480;
$custom-light: #ad69a5;
$custom-dark: #000000;
JSON
{
  "hex": "#872480",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 128
  },
  "hsl": {
    "h": 304.242,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45273,
    "c": 0.16966,
    "h": 331
  },
  "luminance": 0.07971
}

Semantic roles & 50–950 ramp

primary
#872480
secondary
#51B558
accent
#E15247
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #872480

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

Preview Lab → · Contrast checker → · Palette generator →

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