#87259D#87259D

#87259D is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.193 H 319.4°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#87259D
RGBrgb(135, 37, 157)
HSLhsl(289, 62%, 38%)
HSVhsv(289, 76%, 62%)
CMYKcmyk(14%, 76.4%, 0%, 38.4%)
CIE-LABlab(35.81, 56.95, -44.65)
CIE-LCHlch(35.81, 72.36, 321.90°)
OKLaboklab(47.18% 0.1465 -0.1253)
OKLCHoklch(47.18% 0.193 319.4)
XYZxyz(16.7383, 8.9092, 32.7297)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87259D #3B9D25
analogous
#4B259D #87259D #9D2577
triadic
#87259D #9D8725 #259D87
tetradic
#87259D #9D4B25 #3B9D25 #25779D
square
#87259D #9D4B25 #3B9D25 #25779D
split-complementary
#87259D #779D25 #259D4B
monochromatic
#320E3A #5C196B #87259D #B231CE #C462DA

Accessibility & contrast

On white

7.55
#87259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#87259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87259D
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87259D#FFFFFF#000000##FFFFFF
##87259D1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#2F579A
Tritanopia (blue-blind)
#873E60
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #87259d;
/* rgb */ color: rgb(135, 37, 157);
/* oklch */ color: oklch(47.2% 0.193 319.4);
Tailwind
colors: {
  custom: {
    50: '#ae6bba',
    500: '#87259d',
    950: '#000000',
  },
}
SCSS
$custom: #87259d;
$custom-light: #ae6bba;
$custom-dark: #000000;
JSON
{
  "hex": "#87259d",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 289,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47184,
    "c": 0.19276,
    "h": 319.4
  },
  "luminance": 0.08908
}

Semantic roles & 50–950 ramp

primary
#87259D
secondary
#70BF5E
accent
#E54361
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #87259D

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

Preview Lab → · Contrast checker → · Palette generator →

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