#87258D#87258D

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

Color values

HEX#87258D
RGBrgb(135, 37, 141)
HSLhsl(297, 58%, 35%)
HSVhsv(297, 74%, 55%)
CMYKcmyk(4.3%, 73.8%, 0%, 44.7%)
CIE-LABlab(34.80, 53.98, -36.50)
CIE-LCHlch(34.80, 65.16, 325.94°)
OKLaboklab(46.14% 0.1476 -0.1015)
OKLCHoklch(46.14% 0.179 325.5)
XYZxyz(15.4606, 8.3981, 26.0008)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87258D #2B8D25
analogous
#53258D #87258D #8D255F
triadic
#87258D #8D8725 #258D87
tetradic
#87258D #8D5325 #2B8D25 #255F8D
square
#87258D #8D5325 #2B8D25 #255F8D
split-complementary
#87258D #5F8D25 #258D53
monochromatic
#2A0C2C #59185D #87258D #B532BD #CC59D3

Accessibility & contrast

On white

7.84
#87258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#87258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87258D
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87258D#FFFFFF#000000##FFFFFF
##87258D1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87258d;
/* rgb */ color: rgb(135, 37, 141);
/* oklch */ color: oklch(46.1% 0.179 325.5);
Tailwind
colors: {
  custom: {
    50: '#ad6aaf',
    500: '#87258d',
    950: '#000000',
  },
}
SCSS
$custom: #87258d;
$custom-light: #ad6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#87258d",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 296.538,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46141,
    "c": 0.1791,
    "h": 325.5
  },
  "luminance": 0.08397
}

Semantic roles & 50–950 ramp

primary
#87258D
secondary
#5BB856
accent
#E2464F
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #87258D

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

Preview Lab → · Contrast checker → · Palette generator →

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