#87247F#87247F

#87247F is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.169 H 331.5°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#87247F
RGBrgb(135, 36, 127)
HSLhsl(305, 58%, 34%)
HSVhsv(305, 73%, 53%)
CMYKcmyk(0%, 73.3%, 5.9%, 47.1%)
CIE-LABlab(33.87, 51.92, -29.29)
CIE-LCHlch(33.87, 59.61, 330.57°)
OKLaboklab(45.22% 0.1484 -0.0806)
OKLCHoklch(45.22% 0.169 331.5)
XYZxyz(14.4533, 7.9461, 20.8471)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87247F #24872C
analogous
#5D2487 #87247F #87244D
triadic
#87247F #7F8724 #247F87
tetradic
#87247F #875D24 #24872C #244D87
square
#87247F #875D24 #24872C #244D87
split-complementary
#87247F #4D8724 #24875D
monochromatic
#260A24 #571752 #87247F #B731AC #D154C7

Accessibility & contrast

On white

8.11
#87247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#87247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87247F
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87247F#FFFFFF#000000##FFFFFF
##87247F1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4782
Deuteranopia (green-blind)
#43557D
Tritanopia (blue-blind)
#8D2F4F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #87247f;
/* rgb */ color: rgb(135, 36, 127);
/* oklch */ color: oklch(45.2% 0.169 331.5);
Tailwind
colors: {
  custom: {
    50: '#ad69a4',
    500: '#87247f',
    950: '#000000',
  },
}
SCSS
$custom: #87247f;
$custom-light: #ad69a4;
$custom-dark: #000000;
JSON
{
  "hex": "#87247f",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 304.848,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45216,
    "c": 0.16887,
    "h": 331.5
  },
  "luminance": 0.07945
}

Semantic roles & 50–950 ramp

primary
#87247F
secondary
#51B559
accent
#E15347
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #87247F

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

Preview Lab → · Contrast checker → · Palette generator →

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