#872599#872599

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

Color values

HEX#872599
RGBrgb(135, 37, 153)
HSLhsl(291, 61%, 37%)
HSVhsv(291, 76%, 60%)
CMYKcmyk(11.8%, 75.8%, 0%, 40%)
CIE-LABlab(35.55, 56.19, -42.64)
CIE-LCHlch(35.55, 70.54, 322.80°)
OKLaboklab(46.92% 0.1469 -0.1194)
OKLCHoklch(46.92% 0.189 320.9)
XYZxyz(16.4023, 8.7748, 30.9606)
Luminance0.0877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872599 #379925
analogous
#4D2599 #872599 #992571
triadic
#872599 #998725 #259987
tetradic
#872599 #994D25 #379925 #257199
square
#872599 #994D25 #379925 #257199
split-complementary
#872599 #719925 #25994D
monochromatic
#300D36 #5C1968 #872599 #B231CA #C660D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##872599#FFFFFF#000000##FFFFFF
##8725991.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)
#004D9C
Deuteranopia (green-blind)
#325796
Tritanopia (blue-blind)
#883C5E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #872599;
/* rgb */ color: rgb(135, 37, 153);
/* oklch */ color: oklch(46.9% 0.189 320.9);
Tailwind
colors: {
  custom: {
    50: '#ae6bb8',
    500: '#872599',
    950: '#000000',
  },
}
SCSS
$custom: #872599;
$custom-light: #ae6bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#872599",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 290.69,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46915,
    "c": 0.1893,
    "h": 320.9
  },
  "luminance": 0.08774
}

Semantic roles & 50–950 ramp

primary
#872599
secondary
#6BBE5C
accent
#E4445D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872599

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

Preview Lab → · Contrast checker → · Palette generator →

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