#872697#872697

#872697 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.9% C 0.186 H 321.6°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#872697
RGBrgb(135, 38, 151)
HSLhsl(292, 60%, 37%)
HSVhsv(292, 75%, 59%)
CMYKcmyk(10.6%, 74.8%, 0%, 40.8%)
CIE-LABlab(35.54, 55.46, -41.43)
CIE-LCHlch(35.54, 69.22, 323.24°)
OKLaboklab(46.87% 0.1461 -0.1159)
OKLCHoklch(46.87% 0.186 321.6)
XYZxyz(16.2701, 8.7724, 30.1084)
Luminance0.0877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872697 #369726
analogous
#4E2697 #872697 #97266F
triadic
#872697 #978726 #269787
tetradic
#872697 #974E26 #369726 #266F97
square
#872697 #974E26 #369726 #266F97
split-complementary
#872697 #6F9726 #26974E
monochromatic
#300D35 #5B1A66 #872697 #B332C8 #C660D7

Accessibility & contrast

On white

7.62
#872697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872697
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872697#FFFFFF#000000##FFFFFF
##8726971.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#355794
Tritanopia (blue-blind)
#883C5D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #872697;
/* rgb */ color: rgb(135, 38, 151);
/* oklch */ color: oklch(46.9% 0.186 321.6);
Tailwind
colors: {
  custom: {
    50: '#ae6bb6',
    500: '#872697',
    950: '#000000',
  },
}
SCSS
$custom: #872697;
$custom-light: #ae6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#872697",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 291.504,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4687,
    "c": 0.18649,
    "h": 321.6
  },
  "luminance": 0.08771
}

Semantic roles & 50–950 ramp

primary
#872697
secondary
#6ABC5C
accent
#E3455B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872697

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

Preview Lab → · Contrast checker → · Palette generator →

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