#872597#872597

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

Color values

HEX#872597
RGBrgb(135, 37, 151)
HSLhsl(292, 61%, 37%)
HSVhsv(292, 75%, 59%)
CMYKcmyk(10.6%, 75.5%, 0%, 40.8%)
CIE-LABlab(35.42, 55.81, -41.63)
CIE-LCHlch(35.42, 69.63, 323.28°)
OKLaboklab(46.78% 0.147 -0.1165)
OKLCHoklch(46.78% 0.188 321.6)
XYZxyz(16.2385, 8.7093, 30.0979)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872597 #359725
analogous
#4E2597 #872597 #97256E
triadic
#872597 #978725 #259787
tetradic
#872597 #974E25 #359725 #256E97
square
#872597 #974E25 #359725 #256E97
split-complementary
#872597 #6E9725 #25974E
monochromatic
#2F0D35 #5B1966 #872597 #B331C8 #C75FD8

Accessibility & contrast

On white

7.66
#872597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#872597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872597
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872597#FFFFFF#000000##FFFFFF
##8725971.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#345794
Tritanopia (blue-blind)
#883B5C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #872597;
/* rgb */ color: rgb(135, 37, 151);
/* oklch */ color: oklch(46.8% 0.188 321.6);
Tailwind
colors: {
  custom: {
    50: '#ae6ab6',
    500: '#872597',
    950: '#000000',
  },
}
SCSS
$custom: #872597;
$custom-light: #ae6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#872597",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 291.579,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46782,
    "c": 0.18758,
    "h": 321.6
  },
  "luminance": 0.08708
}

Semantic roles & 50–950 ramp

primary
#872597
secondary
#69BD5B
accent
#E4445A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872597

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

Preview Lab → · Contrast checker → · Palette generator →

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