#87247A#87247A

#87247A is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.9% C 0.165 H 333.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#87247A
RGBrgb(135, 36, 122)
HSLhsl(308, 58%, 34%)
HSVhsv(308, 73%, 53%)
CMYKcmyk(0%, 73.3%, 9.6%, 47.1%)
CIE-LABlab(33.60, 51.10, -26.58)
CIE-LCHlch(33.60, 57.60, 332.52°)
OKLaboklab(44.94% 0.1481 -0.0728)
OKLCHoklch(44.94% 0.165 333.8)
XYZxyz(14.1355, 7.8190, 19.1733)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87247A #248731
analogous
#622487 #87247A #872448
triadic
#87247A #7A8724 #247A87
tetradic
#87247A #876224 #248731 #244887
square
#87247A #876224 #248731 #244887
split-complementary
#87247A #488724 #248762
monochromatic
#260A23 #57174E #87247A #B731A6 #D154C1

Accessibility & contrast

On white

8.19
#87247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#87247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87247A
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87247A#FFFFFF#000000##FFFFFF
##87247A1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21467C
Deuteranopia (green-blind)
#455478
Tritanopia (blue-blind)
#8D2D4C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #87247a;
/* rgb */ color: rgb(135, 36, 122);
/* oklch */ color: oklch(44.9% 0.165 333.8);
Tailwind
colors: {
  custom: {
    50: '#ad69a1',
    500: '#87247a',
    950: '#000000',
  },
}
SCSS
$custom: #87247a;
$custom-light: #ad69a1;
$custom-dark: #000000;
JSON
{
  "hex": "#87247a",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 307.879,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44937,
    "c": 0.16498,
    "h": 333.8
  },
  "luminance": 0.07818
}

Semantic roles & 50–950 ramp

primary
#87247A
secondary
#51B55E
accent
#E15B47
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #87247A

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

Preview Lab → · Contrast checker → · Palette generator →

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