#87248C#87248C

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

Color values

HEX#87248C
RGBrgb(135, 36, 140)
HSLhsl(297, 59%, 35%)
HSVhsv(297, 74%, 55%)
CMYKcmyk(3.6%, 74.3%, 0%, 45.1%)
CIE-LABlab(34.61, 54.16, -36.17)
CIE-LCHlch(34.61, 65.13, 326.26°)
OKLaboklab(45.99% 0.1486 -0.1006)
OKLCHoklch(45.99% 0.179 325.9)
XYZxyz(15.3559, 8.3071, 25.6005)
Luminance0.0831 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87248C #298C24
analogous
#53248C #87248C #8C245D
triadic
#87248C #8C8724 #248C87
tetradic
#87248C #8C5324 #298C24 #245D8C
square
#87248C #8C5324 #298C24 #245D8C
split-complementary
#87248C #5D8C24 #248C53
monochromatic
#290B2B #58175B #87248C #B631BD #CE57D4

Accessibility & contrast

On white

7.89
#87248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87248C
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87248C#FFFFFF#000000##FFFFFF
##87248C1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064A8F
Deuteranopia (green-blind)
#3B5689
Tritanopia (blue-blind)
#8A3556
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #87248c;
/* rgb */ color: rgb(135, 36, 140);
/* oklch */ color: oklch(46.0% 0.179 325.9);
Tailwind
colors: {
  custom: {
    50: '#ad6aae',
    500: '#87248c',
    950: '#000000',
  },
}
SCSS
$custom: #87248c;
$custom-light: #ad6aae;
$custom-dark: #000000;
JSON
{
  "hex": "#87248c",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 297.115,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4599,
    "c": 0.1794,
    "h": 325.9
  },
  "luminance": 0.08306
}

Semantic roles & 50–950 ramp

primary
#87248C
secondary
#59B854
accent
#E2464D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #87248C

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

Preview Lab → · Contrast checker → · Palette generator →

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