#87279E#87279E

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

Color values

HEX#87279E
RGBrgb(135, 39, 158)
HSLhsl(288, 60%, 39%)
HSVhsv(288, 75%, 62%)
CMYKcmyk(14.6%, 75.3%, 0%, 38%)
CIE-LABlab(36.12, 56.43, -44.75)
CIE-LCHlch(36.12, 72.02, 321.58°)
OKLaboklab(47.43% 0.1445 -0.1256)
OKLCHoklch(47.43% 0.191 319)
XYZxyz(16.8879, 9.0714, 33.2025)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87279E #3E9E27
analogous
#4B279E #87279E #9E2779
triadic
#87279E #9E8727 #279E87
tetradic
#87279E #9E4B27 #3E9E27 #27799E
square
#87279E #9E4B27 #3E9E27 #27799E
split-complementary
#87279E #799E27 #279E4B
monochromatic
#330F3C #5D1B6D #87279E #B035CD #C366D9

Accessibility & contrast

On white

7.46
#87279E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87279E
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87279E#FFFFFF#000000##FFFFFF
##87279E1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#2F589B
Tritanopia (blue-blind)
#873F61
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #87279e;
/* rgb */ color: rgb(135, 39, 158);
/* oklch */ color: oklch(47.4% 0.191 319.0);
Tailwind
colors: {
  custom: {
    50: '#ae6cbb',
    500: '#87279e',
    950: '#000000',
  },
}
SCSS
$custom: #87279e;
$custom-light: #ae6cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#87279e",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 288.403,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47427,
    "c": 0.19148,
    "h": 319
  },
  "luminance": 0.09071
}

Semantic roles & 50–950 ramp

primary
#87279E
secondary
#74BF62
accent
#E44463
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #87279E

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

Preview Lab → · Contrast checker → · Palette generator →

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