#872084#872084

#872084 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.177 H 329.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#872084
RGBrgb(135, 32, 132)
HSLhsl(302, 62%, 33%)
HSVhsv(302, 76%, 53%)
CMYKcmyk(0%, 76.3%, 2.2%, 47.1%)
CIE-LABlab(33.67, 54.13, -32.72)
CIE-LCHlch(33.67, 63.25, 328.84°)
OKLaboklab(45.16% 0.1525 -0.0905)
OKLCHoklch(45.16% 0.177 329.3)
XYZxyz(14.6729, 7.8510, 22.5679)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872084 #208723
analogous
#572087 #872084 #872050
triadic
#872084 #848720 #208487
tetradic
#872084 #875720 #208723 #205087
square
#872084 #875720 #208723 #205087
split-complementary
#872084 #508720 #208757
monochromatic
#240923 #561454 #872084 #B82CB4 #D54DD1

Accessibility & contrast

On white

8.17
#872084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#872084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872084
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872084#FFFFFF#000000##FFFFFF
##8720841.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4687
Deuteranopia (green-blind)
#3E5481
Tritanopia (blue-blind)
#8C2F51
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #872084;
/* rgb */ color: rgb(135, 32, 132);
/* oklch */ color: oklch(45.2% 0.177 329.3);
Tailwind
colors: {
  custom: {
    50: '#ad68a8',
    500: '#872084',
    950: '#000000',
  },
}
SCSS
$custom: #872084;
$custom-light: #ad68a8;
$custom-dark: #000000;
JSON
{
  "hex": "#872084",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 301.748,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45164,
    "c": 0.17731,
    "h": 329.3
  },
  "luminance": 0.0785
}

Semantic roles & 50–950 ramp

primary
#872084
secondary
#4BB84E
accent
#E54843
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #872084

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

Preview Lab → · Contrast checker → · Palette generator →

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