#87258B#87258B

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

Color values

HEX#87258B
RGBrgb(135, 37, 139)
HSLhsl(298, 58%, 35%)
HSVhsv(298, 73%, 55%)
CMYKcmyk(2.9%, 73.4%, 0%, 45.5%)
CIE-LABlab(34.68, 53.62, -35.45)
CIE-LCHlch(34.68, 64.28, 326.53°)
OKLaboklab(46.02% 0.1476 -0.0985)
OKLCHoklch(46.02% 0.177 326.3)
XYZxyz(15.3132, 8.3391, 25.2242)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87258B #298B25
analogous
#54258B #87258B #8B255C
triadic
#87258B #8B8725 #258B87
tetradic
#87258B #8B5425 #298B25 #255C8B
square
#87258B #8B5425 #298B25 #255C8B
split-complementary
#87258B #5C8B25 #258B54
monochromatic
#290B2A #58185B #87258B #B632BB #CE58D3

Accessibility & contrast

On white

7.87
#87258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#87258B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87258B
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87258B#FFFFFF#000000##FFFFFF
##87258B1.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)
#0B4A8E
Deuteranopia (green-blind)
#3D5688
Tritanopia (blue-blind)
#8B3656
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #87258b;
/* rgb */ color: rgb(135, 37, 139);
/* oklch */ color: oklch(46.0% 0.177 326.3);
Tailwind
colors: {
  custom: {
    50: '#ad6aad',
    500: '#87258b',
    950: '#000000',
  },
}
SCSS
$custom: #87258b;
$custom-light: #ad6aad;
$custom-dark: #000000;
JSON
{
  "hex": "#87258b",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 297.647,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46017,
    "c": 0.17743,
    "h": 326.3
  },
  "luminance": 0.08338
}

Semantic roles & 50–950 ramp

primary
#87258B
secondary
#59B755
accent
#E1474D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #87258B

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

Preview Lab → · Contrast checker → · Palette generator →

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