#87248D#87248D

#87248D is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.180 H 325.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#87248D
RGBrgb(135, 36, 141)
HSLhsl(297, 59%, 35%)
HSVhsv(297, 74%, 55%)
CMYKcmyk(4.3%, 74.5%, 0%, 44.7%)
CIE-LABlab(34.67, 54.33, -36.69)
CIE-LCHlch(34.67, 65.56, 325.97°)
OKLaboklab(46.05% 0.1485 -0.1021)
OKLCHoklch(46.05% 0.18 325.5)
XYZxyz(15.4299, 8.3368, 25.9906)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87248D #2A8D24
analogous
#52248D #87248D #8D245F
triadic
#87248D #8D8724 #248D87
tetradic
#87248D #8D5224 #2A8D24 #245F8D
square
#87248D #8D5224 #2A8D24 #245F8D
split-complementary
#87248D #5F8D24 #248D52
monochromatic
#2A0B2B #58185C #87248D #B630BE #CD57D4

Accessibility & contrast

On white

7.87
#87248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#87248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87248D
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87248D#FFFFFF#000000##FFFFFF
##87248D1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034A90
Deuteranopia (green-blind)
#3B568A
Tritanopia (blue-blind)
#8A3657
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #87248d;
/* rgb */ color: rgb(135, 36, 141);
/* oklch */ color: oklch(46.1% 0.180 325.5);
Tailwind
colors: {
  custom: {
    50: '#ad6aaf',
    500: '#87248d',
    950: '#000000',
  },
}
SCSS
$custom: #87248d;
$custom-light: #ad6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#87248d",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 296.571,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46052,
    "c": 0.18023,
    "h": 325.5
  },
  "luminance": 0.08336
}

Semantic roles & 50–950 ramp

primary
#87248D
secondary
#5AB854
accent
#E3454E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #87248D

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

Preview Lab → · Contrast checker → · Palette generator →

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