#87289D#87289D

#87289D is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.189 H 319.3°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#87289D
RGBrgb(135, 40, 157)
HSLhsl(289, 59%, 39%)
HSVhsv(289, 75%, 62%)
CMYKcmyk(14%, 74.5%, 0%, 38.4%)
CIE-LABlab(36.18, 55.87, -44.05)
CIE-LCHlch(36.18, 71.15, 321.75°)
OKLaboklab(47.45% 0.1436 -0.1236)
OKLCHoklch(47.45% 0.189 319.3)
XYZxyz(16.8355, 9.1036, 32.7621)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87289D #3E9D28
analogous
#4C289D #87289D #9D2878
triadic
#87289D #9D8728 #289D87
tetradic
#87289D #9D4C28 #3E9D28 #28789D
square
#87289D #9D4C28 #3E9D28 #28789D
split-complementary
#87289D #789D28 #289D4C
monochromatic
#330F3B #5D1C6C #87289D #B036CC #C367D8

Accessibility & contrast

On white

7.45
#87289D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#87289D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87289D
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87289D#FFFFFF#000000##FFFFFF
##87289D1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#31589A
Tritanopia (blue-blind)
#874061
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #87289d;
/* rgb */ color: rgb(135, 40, 157);
/* oklch */ color: oklch(47.4% 0.189 319.3);
Tailwind
colors: {
  custom: {
    50: '#ae6cba',
    500: '#87289d',
    950: '#000000',
  },
}
SCSS
$custom: #87289d;
$custom-light: #ae6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#87289d",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 288.718,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4745,
    "c": 0.18949,
    "h": 319.3
  },
  "luminance": 0.09103
}

Semantic roles & 50–950 ramp

primary
#87289D
secondary
#74BE62
accent
#E34563
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #87289D

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

Preview Lab → · Contrast checker → · Palette generator →

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