#87248B#87248B

#87248B is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.9% C 0.179 H 326.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#87248B
RGBrgb(135, 36, 139)
HSLhsl(298, 59%, 34%)
HSVhsv(298, 74%, 55%)
CMYKcmyk(2.9%, 74.1%, 0%, 45.5%)
CIE-LABlab(34.55, 53.98, -35.65)
CIE-LCHlch(34.55, 64.69, 326.56°)
OKLaboklab(45.93% 0.1486 -0.099)
OKLCHoklch(45.93% 0.179 326.3)
XYZxyz(15.2825, 8.2778, 25.2139)
Luminance0.0828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87248B #288B24
analogous
#54248B #87248B #8B245C
triadic
#87248B #8B8724 #248B87
tetradic
#87248B #8B5424 #288B24 #245C8B
square
#87248B #8B5424 #288B24 #245C8B
split-complementary
#87248B #5C8B24 #248B54
monochromatic
#290B2A #58175A #87248B #B631BC #CE56D3

Accessibility & contrast

On white

7.91
#87248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#87248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87248B
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87248B#FFFFFF#000000##FFFFFF
##87248B1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08498E
Deuteranopia (green-blind)
#3C5688
Tritanopia (blue-blind)
#8B3555
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #87248b;
/* rgb */ color: rgb(135, 36, 139);
/* oklch */ color: oklch(45.9% 0.179 326.3);
Tailwind
colors: {
  custom: {
    50: '#ad69ad',
    500: '#87248b',
    950: '#000000',
  },
}
SCSS
$custom: #87248b;
$custom-light: #ad69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#87248b",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 297.67,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45928,
    "c": 0.17857,
    "h": 326.3
  },
  "luminance": 0.08277
}

Semantic roles & 50–950 ramp

primary
#87248B
secondary
#57B753
accent
#E2464C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #87248B

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

Preview Lab → · Contrast checker → · Palette generator →

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