#872686#872686

#872686 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.8% C 0.172 H 328.4°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#872686
RGBrgb(135, 38, 134)
HSLhsl(301, 56%, 34%)
HSVhsv(301, 72%, 53%)
CMYKcmyk(0%, 71.9%, 0.7%, 47.1%)
CIE-LABlab(34.52, 52.38, -32.62)
CIE-LCHlch(34.52, 61.71, 328.09°)
OKLaboklab(45.81% 0.1466 -0.0902)
OKLCHoklch(45.81% 0.172 328.4)
XYZxyz(14.9877, 8.2594, 23.3545)
Luminance0.0826 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872686 #268727
analogous
#582687 #872686 #872656
triadic
#872686 #868726 #268687
tetradic
#872686 #875826 #268727 #265687
square
#872686 #875826 #268727 #265687
split-complementary
#872686 #568726 #268758
monochromatic
#270B27 #571957 #872686 #B733B5 #D058CF

Accessibility & contrast

On white

7.92
#872686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#872686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872686
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872686#FFFFFF#000000##FFFFFF
##8726861.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174989
Deuteranopia (green-blind)
#405684
Tritanopia (blue-blind)
#8B3453
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #872686;
/* rgb */ color: rgb(135, 38, 134);
/* oklch */ color: oklch(45.8% 0.172 328.4);
Tailwind
colors: {
  custom: {
    50: '#ad6aa9',
    500: '#872686',
    950: '#000000',
  },
}
SCSS
$custom: #872686;
$custom-light: #ad6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#872686",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 134
  },
  "hsl": {
    "h": 300.619,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45808,
    "c": 0.17211,
    "h": 328.4
  },
  "luminance": 0.08258
}

Semantic roles & 50–950 ramp

primary
#872686
secondary
#54B555
accent
#DF4A48
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #872686

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

Preview Lab → · Contrast checker → · Palette generator →

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