#872582#872582

#872582 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.5% C 0.170 H 330.1°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#872582
RGBrgb(135, 37, 130)
HSLhsl(303, 57%, 34%)
HSVhsv(303, 73%, 53%)
CMYKcmyk(0%, 72.6%, 3.7%, 47.1%)
CIE-LABlab(34.16, 52.06, -30.70)
CIE-LCHlch(34.16, 60.44, 329.47°)
OKLaboklab(45.48% 0.1475 -0.0847)
OKLCHoklch(45.48% 0.17 330.1)
XYZxyz(14.6824, 8.0869, 21.9024)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872582 #25872A
analogous
#5B2587 #872582 #872551
triadic
#872582 #828725 #258287
tetradic
#872582 #875B25 #25872A #255187
square
#872582 #875B25 #25872A #255187
split-complementary
#872582 #518725 #25875B
monochromatic
#270B25 #571854 #872582 #B732B0 #D156CA

Accessibility & contrast

On white

8.02
#872582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872582
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872582#FFFFFF#000000##FFFFFF
##8725821.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4885
Deuteranopia (green-blind)
#425580
Tritanopia (blue-blind)
#8C3151
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #872582;
/* rgb */ color: rgb(135, 37, 130);
/* oklch */ color: oklch(45.5% 0.170 330.1);
Tailwind
colors: {
  custom: {
    50: '#ad6aa7',
    500: '#872582',
    950: '#000000',
  },
}
SCSS
$custom: #872582;
$custom-light: #ad6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#872582",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 130
  },
  "hsl": {
    "h": 303.061,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4548,
    "c": 0.17006,
    "h": 330.1
  },
  "luminance": 0.08086
}

Semantic roles & 50–950 ramp

primary
#872582
secondary
#53B558
accent
#E04F48
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #872582

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

Preview Lab → · Contrast checker → · Palette generator →

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