#872087#872087

#872087 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.180 H 328.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#872087
RGBrgb(135, 32, 135)
HSLhsl(300, 62%, 33%)
HSVhsv(300, 76%, 53%)
CMYKcmyk(0%, 76.3%, 0%, 47.1%)
CIE-LABlab(33.85, 54.63, -34.31)
CIE-LCHlch(33.85, 64.51, 327.87°)
OKLaboklab(45.35% 0.1525 -0.0951)
OKLCHoklch(45.35% 0.18 328)
XYZxyz(14.8812, 7.9343, 23.6647)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872087 #208720
analogous
#532087 #872087 #872053
triadic
#872087 #878720 #208787
tetradic
#872087 #875320 #208720 #205387
square
#872087 #875320 #208720 #205387
split-complementary
#872087 #538720 #208753
monochromatic
#240924 #561456 #872087 #B82CB8 #D54DD5

Accessibility & contrast

On white

8.12
#872087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872087
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872087#FFFFFF#000000##FFFFFF
##8720871.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08478A
Deuteranopia (green-blind)
#3D5484
Tritanopia (blue-blind)
#8B3152
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #872087;
/* rgb */ color: rgb(135, 32, 135);
/* oklch */ color: oklch(45.3% 0.180 328.0);
Tailwind
colors: {
  custom: {
    50: '#ad68aa',
    500: '#872087',
    950: '#000000',
  },
}
SCSS
$custom: #872087;
$custom-light: #ad68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#872087",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 300,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45345,
    "c": 0.17968,
    "h": 328
  },
  "luminance": 0.07933
}

Semantic roles & 50–950 ramp

primary
#872087
secondary
#4BB84B
accent
#E54343
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #872087

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

Preview Lab → · Contrast checker → · Palette generator →

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