#87259C#87259C

#87259C is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.1% C 0.192 H 319.8°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#87259C
RGBrgb(135, 37, 156)
HSLhsl(289, 62%, 38%)
HSVhsv(289, 76%, 61%)
CMYKcmyk(13.5%, 76.3%, 0%, 38.8%)
CIE-LABlab(35.74, 56.75, -44.15)
CIE-LCHlch(35.74, 71.90, 322.12°)
OKLaboklab(47.12% 0.1466 -0.1239)
OKLCHoklch(47.12% 0.192 319.8)
XYZxyz(16.6532, 8.8752, 32.2819)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87259C #3A9C25
analogous
#4C259C #87259C #9C2575
triadic
#87259C #9C8725 #259C87
tetradic
#87259C #9C4C25 #3A9C25 #25759C
square
#87259C #9C4C25 #3A9C25 #25759C
split-complementary
#87259C #759C25 #259C4C
monochromatic
#310E39 #5C196B #87259C #B231CD #C562DA

Accessibility & contrast

On white

7.57
#87259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87259C
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87259C#FFFFFF#000000##FFFFFF
##87259C1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87259c;
/* rgb */ color: rgb(135, 37, 156);
/* oklch */ color: oklch(47.1% 0.192 319.8);
Tailwind
colors: {
  custom: {
    50: '#ae6bba',
    500: '#87259c',
    950: '#000000',
  },
}
SCSS
$custom: #87259c;
$custom-light: #ae6bba;
$custom-dark: #000000;
JSON
{
  "hex": "#87259c",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 289.412,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47116,
    "c": 0.1919,
    "h": 319.8
  },
  "luminance": 0.08874
}

Semantic roles & 50–950 ramp

primary
#87259C
secondary
#6FBF5E
accent
#E54360
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #87259C

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

Preview Lab → · Contrast checker → · Palette generator →

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