#87279D#87279D

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

Color values

HEX#87279D
RGBrgb(135, 39, 157)
HSLhsl(289, 60%, 38%)
HSVhsv(289, 75%, 62%)
CMYKcmyk(14%, 75.2%, 0%, 38.4%)
CIE-LABlab(36.06, 56.24, -44.25)
CIE-LCHlch(36.06, 71.56, 321.80°)
OKLaboklab(47.36% 0.1446 -0.1242)
OKLCHoklch(47.36% 0.191 319.3)
XYZxyz(16.8022, 9.0371, 32.7510)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87279D #3D9D27
analogous
#4C279D #87279D #9D2778
triadic
#87279D #9D8727 #279D87
tetradic
#87279D #9D4C27 #3D9D27 #27789D
square
#87279D #9D4C27 #3D9D27 #27789D
split-complementary
#87279D #789D27 #279D4C
monochromatic
#330F3B #5D1B6C #87279D #B035CD #C366D9

Accessibility & contrast

On white

7.48
#87279D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#87279D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87279D
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87279D#FFFFFF#000000##FFFFFF
##87279D1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#30589A
Tritanopia (blue-blind)
#873F60
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #87279d;
/* rgb */ color: rgb(135, 39, 157);
/* oklch */ color: oklch(47.4% 0.191 319.3);
Tailwind
colors: {
  custom: {
    50: '#ae6cba',
    500: '#87279d',
    950: '#000000',
  },
}
SCSS
$custom: #87279d;
$custom-light: #ae6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#87279d",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 288.814,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47359,
    "c": 0.1906,
    "h": 319.3
  },
  "luminance": 0.09036
}

Semantic roles & 50–950 ramp

primary
#87279D
secondary
#73BF61
accent
#E34462
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #87279D

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

Preview Lab → · Contrast checker → · Palette generator →

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