#87279B#87279B

#87279B is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.2% C 0.189 H 320.1°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#87279B
RGBrgb(135, 39, 155)
HSLhsl(290, 60%, 38%)
HSVhsv(290, 75%, 61%)
CMYKcmyk(12.9%, 74.8%, 0%, 39.2%)
CIE-LABlab(35.93, 55.86, -43.25)
CIE-LCHlch(35.93, 70.64, 322.25°)
OKLaboklab(47.23% 0.1448 -0.1212)
OKLCHoklch(47.23% 0.189 320.1)
XYZxyz(16.6329, 8.9693, 31.8591)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87279B #3B9B27
analogous
#4D279B #87279B #9B2775
triadic
#87279B #9B8727 #279B87
tetradic
#87279B #9B4D27 #3B9B27 #27759B
square
#87279B #9B4D27 #3B9B27 #27759B
split-complementary
#87279B #759B27 #279B4D
monochromatic
#320E39 #5C1B6A #87279B #B233CC #C464D8

Accessibility & contrast

On white

7.52
#87279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87279B
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87279B#FFFFFF#000000##FFFFFF
##87279B1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#325898
Tritanopia (blue-blind)
#873E5F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #87279b;
/* rgb */ color: rgb(135, 39, 155);
/* oklch */ color: oklch(47.2% 0.189 320.1);
Tailwind
colors: {
  custom: {
    50: '#ae6bb9',
    500: '#87279b',
    950: '#000000',
  },
}
SCSS
$custom: #87279b;
$custom-light: #ae6bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#87279b",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 289.655,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47225,
    "c": 0.18885,
    "h": 320.1
  },
  "luminance": 0.08968
}

Semantic roles & 50–950 ramp

primary
#87279B
secondary
#70BE60
accent
#E34560
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #87279B

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

Preview Lab → · Contrast checker → · Palette generator →

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