#872387#872387

#872387 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.176 H 328.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#872387
RGBrgb(135, 35, 135)
HSLhsl(300, 59%, 33%)
HSVhsv(300, 74%, 53%)
CMYKcmyk(0%, 74.1%, 0%, 47.1%)
CIE-LABlab(34.20, 53.63, -33.75)
CIE-LCHlch(34.20, 63.36, 327.82°)
OKLaboklab(45.6% 0.1496 -0.0935)
OKLCHoklch(45.6% 0.176 328)
XYZxyz(14.9657, 8.1033, 23.6928)
Luminance0.0810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872387 #238723
analogous
#552387 #872387 #872355
triadic
#872387 #878723 #238787
tetradic
#872387 #875523 #238723 #235587
square
#872387 #875523 #238723 #235587
split-complementary
#872387 #558723 #238755
monochromatic
#260A26 #561656 #872387 #B830B8 #D252D2

Accessibility & contrast

On white

8.01
#872387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872387
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872387#FFFFFF#000000##FFFFFF
##8723871.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F488A
Deuteranopia (green-blind)
#3E5584
Tritanopia (blue-blind)
#8B3253
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #872387;
/* rgb */ color: rgb(135, 35, 135);
/* oklch */ color: oklch(45.6% 0.176 328.0);
Tailwind
colors: {
  custom: {
    50: '#ad69aa',
    500: '#872387',
    950: '#000000',
  },
}
SCSS
$custom: #872387;
$custom-light: #ad69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#872387",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 300,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45597,
    "c": 0.17643,
    "h": 328
  },
  "luminance": 0.08102
}

Semantic roles & 50–950 ramp

primary
#872387
secondary
#50B650
accent
#E24646
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #872387

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

Preview Lab → · Contrast checker → · Palette generator →

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