#872688#872688

#872688 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.9% C 0.174 H 327.5°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#872688
RGBrgb(135, 38, 136)
HSLhsl(299, 56%, 34%)
HSVhsv(299, 72%, 53%)
CMYKcmyk(0.7%, 72.1%, 0%, 46.7%)
CIE-LABlab(34.63, 52.73, -33.68)
CIE-LCHlch(34.63, 62.57, 327.43°)
OKLaboklab(45.93% 0.1466 -0.0933)
OKLCHoklch(45.93% 0.174 327.5)
XYZxyz(15.1285, 8.3158, 24.0961)
Luminance0.0832 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872688 #278826
analogous
#562688 #872688 #882658
triadic
#872688 #888726 #268887
tetradic
#872688 #885626 #278826 #265888
square
#872688 #885626 #278826 #265888
split-complementary
#872688 #588826 #268856
monochromatic
#280B28 #581958 #872688 #B633B8 #CF58D0

Accessibility & contrast

On white

7.89
#872688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#872688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872688
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872688#FFFFFF#000000##FFFFFF
##8726881.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14498B
Deuteranopia (green-blind)
#3F5686
Tritanopia (blue-blind)
#8B3554
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #872688;
/* rgb */ color: rgb(135, 38, 136);
/* oklch */ color: oklch(45.9% 0.174 327.5);
Tailwind
colors: {
  custom: {
    50: '#ad6aab',
    500: '#872688',
    950: '#000000',
  },
}
SCSS
$custom: #872688;
$custom-light: #ad6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#872688",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 136
  },
  "hsl": {
    "h": 299.388,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45927,
    "c": 0.17377,
    "h": 327.5
  },
  "luminance": 0.08315
}

Semantic roles & 50–950 ramp

primary
#872688
secondary
#56B555
accent
#E0484A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #872688

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

Preview Lab → · Contrast checker → · Palette generator →

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