#87248A#87248A

#87248A is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.178 H 326.7°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#87248A
RGBrgb(135, 36, 138)
HSLhsl(298, 59%, 34%)
HSVhsv(298, 74%, 54%)
CMYKcmyk(2.2%, 73.9%, 0%, 45.9%)
CIE-LABlab(34.50, 53.80, -35.13)
CIE-LCHlch(34.50, 64.26, 326.86°)
OKLaboklab(45.87% 0.1486 -0.0975)
OKLCHoklch(45.87% 0.178 326.7)
XYZxyz(15.2097, 8.2487, 24.8309)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87248A #278A24
analogous
#54248A #87248A #8A245A
triadic
#87248A #8A8724 #248A87
tetradic
#87248A #8A5424 #278A24 #245A8A
square
#87248A #8A5424 #278A24 #245A8A
split-complementary
#87248A #5A8A24 #248A54
monochromatic
#280B29 #581759 #87248A #B631BB #CF56D3

Accessibility & contrast

On white

7.93
#87248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#87248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87248A
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87248A#FFFFFF#000000##FFFFFF
##87248A1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B498D
Deuteranopia (green-blind)
#3D5587
Tritanopia (blue-blind)
#8B3455
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #87248a;
/* rgb */ color: rgb(135, 36, 138);
/* oklch */ color: oklch(45.9% 0.178 326.7);
Tailwind
colors: {
  custom: {
    50: '#ad69ac',
    500: '#87248a',
    950: '#000000',
  },
}
SCSS
$custom: #87248a;
$custom-light: #ad69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#87248a",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 298.235,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45867,
    "c": 0.17775,
    "h": 326.7
  },
  "luminance": 0.08248
}

Semantic roles & 50–950 ramp

primary
#87248A
secondary
#56B753
accent
#E2464B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #87248A

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

Preview Lab → · Contrast checker → · Palette generator →

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