#872386#872386

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

Color values

HEX#872386
RGBrgb(135, 35, 134)
HSLhsl(301, 59%, 33%)
HSVhsv(301, 74%, 53%)
CMYKcmyk(0%, 74.1%, 0.7%, 47.1%)
CIE-LABlab(34.14, 53.46, -33.22)
CIE-LCHlch(34.14, 62.94, 328.14°)
OKLaboklab(45.54% 0.1496 -0.092)
OKLCHoklch(45.54% 0.176 328.4)
XYZxyz(14.8956, 8.0753, 23.3238)
Luminance0.0807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872386 #238724
analogous
#562387 #872386 #872354
triadic
#872386 #868723 #238687
tetradic
#872386 #875623 #238724 #235487
square
#872386 #875623 #238724 #235487
split-complementary
#872386 #548723 #238756
monochromatic
#260A26 #561656 #872386 #B830B6 #D252D1

Accessibility & contrast

On white

8.03
#872386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#872386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872386
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872386#FFFFFF#000000##FFFFFF
##8723861.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114889
Deuteranopia (green-blind)
#3F5583
Tritanopia (blue-blind)
#8C3252
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #872386;
/* rgb */ color: rgb(135, 35, 134);
/* oklch */ color: oklch(45.5% 0.176 328.4);
Tailwind
colors: {
  custom: {
    50: '#ad69aa',
    500: '#872386',
    950: '#000000',
  },
}
SCSS
$custom: #872386;
$custom-light: #ad69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#872386",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 300.6,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45536,
    "c": 0.17561,
    "h": 328.4
  },
  "luminance": 0.08074
}

Semantic roles & 50–950 ramp

primary
#872386
secondary
#50B651
accent
#E24746
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #872386

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

Preview Lab → · Contrast checker → · Palette generator →

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