#87247D#87247D

#87247D is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.1% C 0.167 H 332.4°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#87247D
RGBrgb(135, 36, 125)
HSLhsl(306, 58%, 34%)
HSVhsv(306, 73%, 53%)
CMYKcmyk(0%, 73.3%, 7.4%, 47.1%)
CIE-LABlab(33.76, 51.59, -28.21)
CIE-LCHlch(33.76, 58.80, 331.33°)
OKLaboklab(45.1% 0.1483 -0.0775)
OKLCHoklch(45.1% 0.167 332.4)
XYZxyz(14.3243, 7.8945, 20.1674)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87247D #24872E
analogous
#5F2487 #87247D #87244B
triadic
#87247D #7D8724 #247D87
tetradic
#87247D #875F24 #24872E #244B87
square
#87247D #875F24 #24872E #244B87
split-complementary
#87247D #4B8724 #24875F
monochromatic
#260A24 #571750 #87247D #B731AA #D154C5

Accessibility & contrast

On white

8.14
#87247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#87247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87247D
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87247D#FFFFFF#000000##FFFFFF
##87247D1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F467F
Deuteranopia (green-blind)
#44547B
Tritanopia (blue-blind)
#8D2E4E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #87247d;
/* rgb */ color: rgb(135, 36, 125);
/* oklch */ color: oklch(45.1% 0.167 332.4);
Tailwind
colors: {
  custom: {
    50: '#ad69a3',
    500: '#87247d',
    950: '#000000',
  },
}
SCSS
$custom: #87247d;
$custom-light: #ad69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#87247d",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 306.061,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45103,
    "c": 0.1673,
    "h": 332.4
  },
  "luminance": 0.07893
}

Semantic roles & 50–950 ramp

primary
#87247D
secondary
#51B55B
accent
#E15647
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #87247D

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

Preview Lab → · Contrast checker → · Palette generator →

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