#87279A#87279A

#87279A is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.188 H 320.4°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#87279A
RGBrgb(135, 39, 154)
HSLhsl(290, 60%, 38%)
HSVhsv(290, 75%, 60%)
CMYKcmyk(12.3%, 74.7%, 0%, 39.6%)
CIE-LABlab(35.86, 55.66, -42.75)
CIE-LCHlch(35.86, 70.18, 322.48°)
OKLaboklab(47.16% 0.1449 -0.1198)
OKLCHoklch(47.16% 0.188 320.4)
XYZxyz(16.5492, 8.9359, 31.4187)
Luminance0.0893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87279A #3A9A27
analogous
#4D279A #87279A #9A2773
triadic
#87279A #9A8727 #279A87
tetradic
#87279A #9A4D27 #3A9A27 #27739A
square
#87279A #9A4D27 #3A9A27 #27739A
split-complementary
#87279A #739A27 #279A4D
monochromatic
#310E38 #5C1B69 #87279A #B233CB #C564D8

Accessibility & contrast

On white

7.53
#87279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#87279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87279A
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87279A#FFFFFF#000000##FFFFFF
##87279A1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#335897
Tritanopia (blue-blind)
#883E5F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #87279a;
/* rgb */ color: rgb(135, 39, 154);
/* oklch */ color: oklch(47.2% 0.188 320.4);
Tailwind
colors: {
  custom: {
    50: '#ae6bb8',
    500: '#87279a',
    950: '#000000',
  },
}
SCSS
$custom: #87279a;
$custom-light: #ae6bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#87279a",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 290.087,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47158,
    "c": 0.18797,
    "h": 320.4
  },
  "luminance": 0.08935
}

Semantic roles & 50–950 ramp

primary
#87279A
secondary
#6FBD5F
accent
#E3455F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #87279A

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

Preview Lab → · Contrast checker → · Palette generator →

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