#87289F#87289F

#87289F is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.191 H 318.6°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#87289F
RGBrgb(135, 40, 159)
HSLhsl(288, 60%, 39%)
HSVhsv(288, 75%, 62%)
CMYKcmyk(15.1%, 74.8%, 0%, 37.6%)
CIE-LABlab(36.31, 56.26, -45.05)
CIE-LCHlch(36.31, 72.07, 321.32°)
OKLaboklab(47.59% 0.1434 -0.1265)
OKLCHoklch(47.59% 0.191 318.6)
XYZxyz(17.0076, 9.1725, 33.6688)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87289F #409F28
analogous
#4C289F #87289F #9F287C
triadic
#87289F #9F8728 #289F87
tetradic
#87289F #9F4C28 #409F28 #287C9F
square
#87289F #9F4C28 #409F28 #287C9F
split-complementary
#87289F #7C9F28 #289F4C
monochromatic
#340F3D #5D1C6E #87289F #AF37CD #C268D9

Accessibility & contrast

On white

7.41
#87289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87289F
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87289F#FFFFFF#000000##FFFFFF
##87289F1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#2F589C
Tritanopia (blue-blind)
#874062
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #87289f;
/* rgb */ color: rgb(135, 40, 159);
/* oklch */ color: oklch(47.6% 0.191 318.6);
Tailwind
colors: {
  custom: {
    50: '#ae6cbc',
    500: '#87289f',
    950: '#000000',
  },
}
SCSS
$custom: #87289f;
$custom-light: #ae6cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#87289f",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 287.899,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47585,
    "c": 0.19126,
    "h": 318.6
  },
  "luminance": 0.09172
}

Semantic roles & 50–950 ramp

primary
#87289F
secondary
#76BF64
accent
#E34565
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #87289F

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

Preview Lab → · Contrast checker → · Palette generator →

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