#87247E#87247E

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

Color values

HEX#87247E
RGBrgb(135, 36, 126)
HSLhsl(305, 58%, 34%)
HSVhsv(305, 73%, 53%)
CMYKcmyk(0%, 73.3%, 6.7%, 47.1%)
CIE-LABlab(33.82, 51.75, -28.75)
CIE-LCHlch(33.82, 59.20, 330.95°)
OKLaboklab(45.16% 0.1484 -0.079)
OKLCHoklch(45.16% 0.168 332)
XYZxyz(14.3885, 7.9202, 20.5055)
Luminance0.0792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87247E #24872D
analogous
#5E2487 #87247E #87244C
triadic
#87247E #7E8724 #247E87
tetradic
#87247E #875E24 #24872D #244C87
square
#87247E #875E24 #24872D #244C87
split-complementary
#87247E #4C8724 #24875E
monochromatic
#260A24 #571751 #87247E #B731AB #D154C6

Accessibility & contrast

On white

8.13
#87247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87247E
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87247E#FFFFFF#000000##FFFFFF
##87247E1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4781
Deuteranopia (green-blind)
#43547C
Tritanopia (blue-blind)
#8D2F4E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #87247e;
/* rgb */ color: rgb(135, 36, 126);
/* oklch */ color: oklch(45.2% 0.168 332.0);
Tailwind
colors: {
  custom: {
    50: '#ad69a4',
    500: '#87247e',
    950: '#000000',
  },
}
SCSS
$custom: #87247e;
$custom-light: #ad69a4;
$custom-dark: #000000;
JSON
{
  "hex": "#87247e",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 305.455,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4516,
    "c": 0.16809,
    "h": 332
  },
  "luminance": 0.07919
}

Semantic roles & 50–950 ramp

primary
#87247E
secondary
#51B55A
accent
#E15547
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #87247E

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

Preview Lab → · Contrast checker → · Palette generator →

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