#87259B#87259B

#87259B is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.191 H 320.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#87259B
RGBrgb(135, 37, 155)
HSLhsl(290, 61%, 38%)
HSVhsv(290, 76%, 61%)
CMYKcmyk(12.9%, 76.1%, 0%, 39.2%)
CIE-LABlab(35.68, 56.56, -43.65)
CIE-LCHlch(35.68, 71.45, 322.34°)
OKLaboklab(47.05% 0.1467 -0.1224)
OKLCHoklch(47.05% 0.191 320.2)
XYZxyz(16.5689, 8.8414, 31.8378)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87259B #399B25
analogous
#4C259B #87259B #9B2574
triadic
#87259B #9B8725 #259B87
tetradic
#87259B #9B4C25 #399B25 #25749B
square
#87259B #9B4C25 #399B25 #25749B
split-complementary
#87259B #749B25 #259B4C
monochromatic
#310D38 #5C196A #87259B #B231CC #C561D9

Accessibility & contrast

On white

7.59
#87259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#87259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87259B
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87259B#FFFFFF#000000##FFFFFF
##87259B1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#315798
Tritanopia (blue-blind)
#873D5F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #87259b;
/* rgb */ color: rgb(135, 37, 155);
/* oklch */ color: oklch(47.0% 0.191 320.2);
Tailwind
colors: {
  custom: {
    50: '#ae6bb9',
    500: '#87259b',
    950: '#000000',
  },
}
SCSS
$custom: #87259b;
$custom-light: #ae6bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#87259b",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 289.831,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47048,
    "c": 0.19103,
    "h": 320.2
  },
  "luminance": 0.08841
}

Semantic roles & 50–950 ramp

primary
#87259B
secondary
#6EBF5D
accent
#E5435F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #87259B

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

Preview Lab → · Contrast checker → · Palette generator →

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