#87289E#87289E

#87289E is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.190 H 318.9°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#87289E
RGBrgb(135, 40, 158)
HSLhsl(288, 60%, 39%)
HSVhsv(288, 75%, 62%)
CMYKcmyk(14.6%, 74.7%, 0%, 38%)
CIE-LABlab(36.25, 56.07, -44.55)
CIE-LCHlch(36.25, 71.61, 321.53°)
OKLaboklab(47.52% 0.1435 -0.125)
OKLCHoklch(47.52% 0.19 318.9)
XYZxyz(16.9212, 9.1379, 33.2136)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87289E #3F9E28
analogous
#4C289E #87289E #9E287A
triadic
#87289E #9E8728 #289E87
tetradic
#87289E #9E4C28 #3F9E28 #287A9E
square
#87289E #9E4C28 #3F9E28 #287A9E
split-complementary
#87289E #7A9E28 #289E4C
monochromatic
#340F3C #5D1C6D #87289E #AF37CC #C368D9

Accessibility & contrast

On white

7.43
#87289E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#87289E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87289E
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87289E#FFFFFF#000000##FFFFFF
##87289E1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#30589B
Tritanopia (blue-blind)
#874061
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #87289e;
/* rgb */ color: rgb(135, 40, 158);
/* oklch */ color: oklch(47.5% 0.190 318.9);
Tailwind
colors: {
  custom: {
    50: '#ae6cbb',
    500: '#87289e',
    950: '#000000',
  },
}
SCSS
$custom: #87289e;
$custom-light: #ae6cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#87289e",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 288.305,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47517,
    "c": 0.19037,
    "h": 318.9
  },
  "luminance": 0.09137
}

Semantic roles & 50–950 ramp

primary
#87289E
secondary
#75BF63
accent
#E34564
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #87289E

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

Preview Lab → · Contrast checker → · Palette generator →

#87289E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva