#872594#872594

#872594 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.6% C 0.185 H 322.7°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#872594
RGBrgb(135, 37, 148)
HSLhsl(293, 60%, 36%)
HSVhsv(293, 75%, 58%)
CMYKcmyk(8.8%, 75%, 0%, 42%)
CIE-LABlab(35.23, 55.25, -40.10)
CIE-LCHlch(35.23, 68.27, 324.03°)
OKLaboklab(46.59% 0.1473 -0.112)
OKLCHoklch(46.59% 0.185 322.7)
XYZxyz(15.9980, 8.6131, 28.8311)
Luminance0.0861 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872594 #329425
analogous
#502594 #872594 #94256A
triadic
#872594 #948725 #259487
tetradic
#872594 #945025 #329425 #256A94
square
#872594 #945025 #329425 #256A94
split-complementary
#872594 #6A9425 #259450
monochromatic
#2E0D32 #5A1963 #872594 #B431C5 #C85DD6

Accessibility & contrast

On white

7.71
#872594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#872594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872594
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872594#FFFFFF#000000##FFFFFF
##8725941.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#365791
Tritanopia (blue-blind)
#893A5B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #872594;
/* rgb */ color: rgb(135, 37, 148);
/* oklch */ color: oklch(46.6% 0.185 322.7);
Tailwind
colors: {
  custom: {
    50: '#ad6ab4',
    500: '#872594',
    950: '#000000',
  },
}
SCSS
$custom: #872594;
$custom-light: #ad6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#872594",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 148
  },
  "hsl": {
    "h": 292.973,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46586,
    "c": 0.18502,
    "h": 322.7
  },
  "luminance": 0.08612
}

Semantic roles & 50–950 ramp

primary
#872594
secondary
#65BB59
accent
#E34557
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872594

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

Preview Lab → · Contrast checker → · Palette generator →

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