#87289C#87289C

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

Color values

HEX#87289C
RGBrgb(135, 40, 156)
HSLhsl(289, 59%, 38%)
HSVhsv(289, 74%, 61%)
CMYKcmyk(13.5%, 74.4%, 0%, 38.8%)
CIE-LABlab(36.12, 55.68, -43.55)
CIE-LCHlch(36.12, 70.69, 321.97°)
OKLaboklab(47.38% 0.1437 -0.1221)
OKLCHoklch(47.38% 0.189 319.6)
XYZxyz(16.7505, 9.0696, 32.3143)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87289C #3D9C28
analogous
#4D289C #87289C #9C2877
triadic
#87289C #9C8728 #289C87
tetradic
#87289C #9C4D28 #3D9C28 #28779C
square
#87289C #9C4D28 #3D9C28 #28779C
split-complementary
#87289C #779C28 #289C4D
monochromatic
#330F3B #5D1C6B #87289C #B036CB #C367D8

Accessibility & contrast

On white

7.46
#87289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#87289C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87289C
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87289C#FFFFFF#000000##FFFFFF
##87289C1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#325899
Tritanopia (blue-blind)
#873F60
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #87289c;
/* rgb */ color: rgb(135, 40, 156);
/* oklch */ color: oklch(47.4% 0.189 319.6);
Tailwind
colors: {
  custom: {
    50: '#ae6cba',
    500: '#87289c',
    950: '#000000',
  },
}
SCSS
$custom: #87289c;
$custom-light: #ae6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#87289c",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 289.138,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47382,
    "c": 0.1886,
    "h": 319.6
  },
  "luminance": 0.09069
}

Semantic roles & 50–950 ramp

primary
#87289C
secondary
#73BE62
accent
#E24562
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #87289C

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

Preview Lab → · Contrast checker → · Palette generator →

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