#872699#872699

#872699 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.188 H 320.8°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#872699
RGBrgb(135, 38, 153)
HSLhsl(291, 60%, 37%)
HSVhsv(291, 75%, 60%)
CMYKcmyk(11.8%, 75.2%, 0%, 40%)
CIE-LABlab(35.67, 55.83, -42.44)
CIE-LCHlch(35.67, 70.14, 322.76°)
OKLaboklab(47% 0.1459 -0.1189)
OKLCHoklch(47% 0.188 320.8)
XYZxyz(16.4339, 8.8379, 30.9711)
Luminance0.0884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872699 #389926
analogous
#4E2699 #872699 #992671
triadic
#872699 #998726 #269987
tetradic
#872699 #994E26 #389926 #267199
square
#872699 #994E26 #389926 #267199
split-complementary
#872699 #719926 #26994E
monochromatic
#300E37 #5C1A68 #872699 #B232CA #C562D8

Accessibility & contrast

On white

7.59
#872699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#872699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872699
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872699#FFFFFF#000000##FFFFFF
##8726991.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#335796
Tritanopia (blue-blind)
#883D5E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #872699;
/* rgb */ color: rgb(135, 38, 153);
/* oklch */ color: oklch(47.0% 0.188 320.8);
Tailwind
colors: {
  custom: {
    50: '#ae6bb8',
    500: '#872699',
    950: '#000000',
  },
}
SCSS
$custom: #872699;
$custom-light: #ae6bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#872699",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 290.609,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47002,
    "c": 0.18822,
    "h": 320.8
  },
  "luminance": 0.08837
}

Semantic roles & 50–950 ramp

primary
#872699
secondary
#6DBD5E
accent
#E3445D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872699

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

Preview Lab → · Contrast checker → · Palette generator →

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