#87258A#87258A

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

Color values

HEX#87258A
RGBrgb(135, 37, 138)
HSLhsl(298, 58%, 34%)
HSVhsv(298, 73%, 54%)
CMYKcmyk(2.2%, 73.2%, 0%, 45.9%)
CIE-LABlab(34.62, 53.45, -34.93)
CIE-LCHlch(34.62, 63.85, 326.83°)
OKLaboklab(45.96% 0.1476 -0.0969)
OKLCHoklch(45.96% 0.177 326.7)
XYZxyz(15.2404, 8.3101, 24.8411)
Luminance0.0831 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87258A #288A25
analogous
#55258A #87258A #8A255B
triadic
#87258A #8A8725 #258A87
tetradic
#87258A #8A5525 #288A25 #255B8A
square
#87258A #8A5525 #288A25 #255B8A
split-complementary
#87258A #5B8A25 #258A55
monochromatic
#290B29 #58185A #87258A #B632BA #CE57D2

Accessibility & contrast

On white

7.89
#87258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#87258A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87258A
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87258A#FFFFFF#000000##FFFFFF
##87258A1.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)
#0E498D
Deuteranopia (green-blind)
#3D5687
Tritanopia (blue-blind)
#8B3555
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #87258a;
/* rgb */ color: rgb(135, 37, 138);
/* oklch */ color: oklch(46.0% 0.177 326.7);
Tailwind
colors: {
  custom: {
    50: '#ad6aac',
    500: '#87258a',
    950: '#000000',
  },
}
SCSS
$custom: #87258a;
$custom-light: #ad6aac;
$custom-dark: #000000;
JSON
{
  "hex": "#87258a",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 298.218,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45956,
    "c": 0.1766,
    "h": 326.7
  },
  "luminance": 0.08309
}

Semantic roles & 50–950 ramp

primary
#87258A
secondary
#57B754
accent
#E1474B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #87258A

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

Preview Lab → · Contrast checker → · Palette generator →

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