#872696#872696

#872696 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.186 H 321.9°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#872696
RGBrgb(135, 38, 150)
HSLhsl(292, 60%, 37%)
HSVhsv(292, 75%, 59%)
CMYKcmyk(10%, 74.7%, 0%, 41.2%)
CIE-LABlab(35.48, 55.27, -40.92)
CIE-LCHlch(35.48, 68.77, 323.48°)
OKLaboklab(46.81% 0.1462 -0.1144)
OKLCHoklch(46.81% 0.186 321.9)
XYZxyz(16.1892, 8.7400, 29.6825)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872696 #359626
analogous
#4F2696 #872696 #96266D
triadic
#872696 #968726 #269687
tetradic
#872696 #964F26 #359626 #266D96
square
#872696 #964F26 #359626 #266D96
split-complementary
#872696 #6D9626 #26964F
monochromatic
#2F0D34 #5B1A65 #872696 #B332C7 #C760D7

Accessibility & contrast

On white

7.64
#872696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#872696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872696
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872696#FFFFFF#000000##FFFFFF
##8726961.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#355793
Tritanopia (blue-blind)
#893B5C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #872696;
/* rgb */ color: rgb(135, 38, 150);
/* oklch */ color: oklch(46.8% 0.186 321.9);
Tailwind
colors: {
  custom: {
    50: '#ad6bb5',
    500: '#872696',
    950: '#000000',
  },
}
SCSS
$custom: #872696;
$custom-light: #ad6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#872696",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 291.964,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46805,
    "c": 0.18562,
    "h": 321.9
  },
  "luminance": 0.08739
}

Semantic roles & 50–950 ramp

primary
#872696
secondary
#69BC5C
accent
#E3455A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872696

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

Preview Lab → · Contrast checker → · Palette generator →

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