#87279F#87279F

#87279F is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.192 H 318.6°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#87279F
RGBrgb(135, 39, 159)
HSLhsl(288, 61%, 39%)
HSVhsv(288, 75%, 62%)
CMYKcmyk(15.1%, 75.5%, 0%, 37.6%)
CIE-LABlab(36.19, 56.63, -45.25)
CIE-LCHlch(36.19, 72.49, 321.37°)
OKLaboklab(47.5% 0.1444 -0.1271)
OKLCHoklch(47.5% 0.192 318.6)
XYZxyz(16.9744, 9.1059, 33.6577)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87279F #3F9F27
analogous
#4B279F #87279F #9F277B
triadic
#87279F #9F8727 #279F87
tetradic
#87279F #9F4B27 #3F9F27 #277B9F
square
#87279F #9F4B27 #3F9F27 #277B9F
split-complementary
#87279F #7B9F27 #279F4B
monochromatic
#340F3D #5D1B6E #87279F #AF36CE #C367DA

Accessibility & contrast

On white

7.44
#87279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#87279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87279F
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87279F#FFFFFF#000000##FFFFFF
##87279F1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#2E589C
Tritanopia (blue-blind)
#874061
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #87279f;
/* rgb */ color: rgb(135, 39, 159);
/* oklch */ color: oklch(47.5% 0.192 318.6);
Tailwind
colors: {
  custom: {
    50: '#ae6cbc',
    500: '#87279f',
    950: '#000000',
  },
}
SCSS
$custom: #87279f;
$custom-light: #ae6cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#87279f",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 288,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47495,
    "c": 0.19236,
    "h": 318.6
  },
  "luminance": 0.09105
}

Semantic roles & 50–950 ramp

primary
#87279F
secondary
#75C062
accent
#E44464
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #87279F

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

Preview Lab → · Contrast checker → · Palette generator →

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