#87247C#87247C

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

Color values

HEX#87247C
RGBrgb(135, 36, 124)
HSLhsl(307, 58%, 34%)
HSVhsv(307, 73%, 53%)
CMYKcmyk(0%, 73.3%, 8.1%, 47.1%)
CIE-LABlab(33.71, 51.43, -27.67)
CIE-LCHlch(33.71, 58.40, 331.72°)
OKLaboklab(45.05% 0.1482 -0.0759)
OKLCHoklch(45.05% 0.167 332.9)
XYZxyz(14.2607, 7.8691, 19.8327)
Luminance0.0787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87247C #24872F
analogous
#602487 #87247C #87244A
triadic
#87247C #7C8724 #247C87
tetradic
#87247C #876024 #24872F #244A87
square
#87247C #876024 #24872F #244A87
split-complementary
#87247C #4A8724 #248760
monochromatic
#260A23 #571750 #87247C #B731A8 #D154C3

Accessibility & contrast

On white

8.16
#87247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#87247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87247C
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87247C#FFFFFF#000000##FFFFFF
##87247C1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20467E
Deuteranopia (green-blind)
#44547A
Tritanopia (blue-blind)
#8D2E4D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #87247c;
/* rgb */ color: rgb(135, 36, 124);
/* oklch */ color: oklch(45.0% 0.167 332.9);
Tailwind
colors: {
  custom: {
    50: '#ad69a2',
    500: '#87247c',
    950: '#000000',
  },
}
SCSS
$custom: #87247c;
$custom-light: #ad69a2;
$custom-dark: #000000;
JSON
{
  "hex": "#87247c",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 306.667,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45047,
    "c": 0.16653,
    "h": 332.9
  },
  "luminance": 0.07868
}

Semantic roles & 50–950 ramp

primary
#87247C
secondary
#51B55C
accent
#E15847
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #87247C

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

Preview Lab → · Contrast checker → · Palette generator →

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