#87279C#87279C

#87279C is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.190 H 319.7°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#87279C
RGBrgb(135, 39, 156)
HSLhsl(289, 60%, 38%)
HSVhsv(289, 75%, 61%)
CMYKcmyk(13.5%, 75%, 0%, 38.8%)
CIE-LABlab(35.99, 56.05, -43.75)
CIE-LCHlch(35.99, 71.10, 322.02°)
OKLaboklab(47.29% 0.1447 -0.1227)
OKLCHoklch(47.29% 0.19 319.7)
XYZxyz(16.7172, 9.0031, 32.3033)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87279C #3C9C27
analogous
#4C279C #87279C #9C2776
triadic
#87279C #9C8727 #279C87
tetradic
#87279C #9C4C27 #3C9C27 #27769C
square
#87279C #9C4C27 #3C9C27 #27769C
split-complementary
#87279C #769C27 #279C4C
monochromatic
#320F3A #5D1B6B #87279C #B134CC #C465D8

Accessibility & contrast

On white

7.50
#87279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#87279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87279C
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87279C#FFFFFF#000000##FFFFFF
##87279C1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87279c;
/* rgb */ color: rgb(135, 39, 156);
/* oklch */ color: oklch(47.3% 0.190 319.7);
Tailwind
colors: {
  custom: {
    50: '#ae6cba',
    500: '#87279c',
    950: '#000000',
  },
}
SCSS
$custom: #87279c;
$custom-light: #ae6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#87279c",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 289.231,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47292,
    "c": 0.18973,
    "h": 319.7
  },
  "luminance": 0.09002
}

Semantic roles & 50–950 ramp

primary
#87279C
secondary
#71BE61
accent
#E34561
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #87279C

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

Preview Lab → · Contrast checker → · Palette generator →

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