#872082#872082

#872082 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.0% C 0.176 H 330.2°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#872082
RGBrgb(135, 32, 130)
HSLhsl(303, 62%, 33%)
HSVhsv(303, 76%, 53%)
CMYKcmyk(0%, 76.3%, 3.7%, 47.1%)
CIE-LABlab(33.56, 53.79, -31.66)
CIE-LCHlch(33.56, 62.42, 329.52°)
OKLaboklab(45.05% 0.1525 -0.0874)
OKLCHoklch(45.05% 0.176 330.2)
XYZxyz(14.5374, 7.7968, 21.8540)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872082 #208725
analogous
#592087 #872082 #87204E
triadic
#872082 #828720 #208287
tetradic
#872082 #875920 #208725 #204E87
square
#872082 #875920 #208725 #204E87
split-complementary
#872082 #4E8720 #208759
monochromatic
#240923 #561452 #872082 #B82CB2 #D54DCE

Accessibility & contrast

On white

8.21
#872082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#872082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872082
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872082#FFFFFF#000000##FFFFFF
##8720821.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134685
Deuteranopia (green-blind)
#40547F
Tritanopia (blue-blind)
#8C2E4F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #872082;
/* rgb */ color: rgb(135, 32, 130);
/* oklch */ color: oklch(45.0% 0.176 330.2);
Tailwind
colors: {
  custom: {
    50: '#ad67a7',
    500: '#872082',
    950: '#000000',
  },
}
SCSS
$custom: #872082;
$custom-light: #ad67a7;
$custom-dark: #000000;
JSON
{
  "hex": "#872082",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 302.913,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45045,
    "c": 0.17574,
    "h": 330.2
  },
  "luminance": 0.07796
}

Semantic roles & 50–950 ramp

primary
#872082
secondary
#4BB850
accent
#E54B43
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #872082

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

Preview Lab → · Contrast checker → · Palette generator →

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