#872580#872580

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

Color values

HEX#872580
RGBrgb(135, 37, 128)
HSLhsl(304, 57%, 34%)
HSVhsv(304, 73%, 53%)
CMYKcmyk(0%, 72.6%, 5.2%, 47.1%)
CIE-LABlab(34.05, 51.72, -29.63)
CIE-LCHlch(34.05, 59.61, 330.20°)
OKLaboklab(45.37% 0.1474 -0.0816)
OKLCHoklch(45.37% 0.168 331)
XYZxyz(14.5495, 8.0337, 21.2022)
Luminance0.0803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872580 #25872C
analogous
#5D2587 #872580 #87254F
triadic
#872580 #808725 #258087
tetradic
#872580 #875D25 #25872C #254F87
square
#872580 #875D25 #25872C #254F87
split-complementary
#872580 #4F8725 #25875D
monochromatic
#270B25 #571852 #872580 #B732AE #D156C8

Accessibility & contrast

On white

8.06
#872580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#872580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872580
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872580#FFFFFF#000000##FFFFFF
##8725801.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4783
Deuteranopia (green-blind)
#43557E
Tritanopia (blue-blind)
#8C3050
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #872580;
/* rgb */ color: rgb(135, 37, 128);
/* oklch */ color: oklch(45.4% 0.168 331.0);
Tailwind
colors: {
  custom: {
    50: '#ad69a5',
    500: '#872580',
    950: '#000000',
  },
}
SCSS
$custom: #872580;
$custom-light: #ad69a5;
$custom-dark: #000000;
JSON
{
  "hex": "#872580",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 128
  },
  "hsl": {
    "h": 304.286,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45365,
    "c": 0.16846,
    "h": 331
  },
  "luminance": 0.08033
}

Semantic roles & 50–950 ramp

primary
#872580
secondary
#53B55A
accent
#E05248
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #872580

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

Preview Lab → · Contrast checker → · Palette generator →

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