#872596#872596

#872596 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.187 H 322.0°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#872596
RGBrgb(135, 37, 150)
HSLhsl(292, 60%, 37%)
HSVhsv(292, 75%, 59%)
CMYKcmyk(10%, 75.3%, 0%, 41.2%)
CIE-LABlab(35.35, 55.62, -41.12)
CIE-LCHlch(35.35, 69.17, 323.52°)
OKLaboklab(46.72% 0.1471 -0.115)
OKLCHoklch(46.72% 0.187 322)
XYZxyz(16.1577, 8.6770, 29.6720)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872596 #349625
analogous
#4E2596 #872596 #96256D
triadic
#872596 #968725 #259687
tetradic
#872596 #964E25 #349625 #256D96
square
#872596 #964E25 #349625 #256D96
split-complementary
#872596 #6D9625 #25964E
monochromatic
#2F0D34 #5B1965 #872596 #B331C7 #C75ED7

Accessibility & contrast

On white

7.68
#872596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872596
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872596#FFFFFF#000000##FFFFFF
##8725961.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #872596;
/* rgb */ color: rgb(135, 37, 150);
/* oklch */ color: oklch(46.7% 0.187 322.0);
Tailwind
colors: {
  custom: {
    50: '#ae6ab5',
    500: '#872596',
    950: '#000000',
  },
}
SCSS
$custom: #872596;
$custom-light: #ae6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#872596",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 292.035,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46716,
    "c": 0.18673,
    "h": 322
  },
  "luminance": 0.08676
}

Semantic roles & 50–950 ramp

primary
#872596
secondary
#67BC5B
accent
#E44459
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872596

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

Preview Lab → · Contrast checker → · Palette generator →

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