#87259E#87259E

#87259E is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.3% C 0.194 H 319.1°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#87259E
RGBrgb(135, 37, 158)
HSLhsl(289, 62%, 38%)
HSVhsv(289, 77%, 62%)
CMYKcmyk(14.6%, 76.6%, 0%, 38%)
CIE-LABlab(35.88, 57.14, -45.15)
CIE-LCHlch(35.88, 72.82, 321.69°)
OKLaboklab(47.25% 0.1464 -0.1268)
OKLCHoklch(47.25% 0.194 319.1)
XYZxyz(16.8240, 8.9435, 33.1812)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87259E #3C9E25
analogous
#4A259E #87259E #9E2578
triadic
#87259E #9E8725 #259E87
tetradic
#87259E #9E4A25 #3C9E25 #25789E
square
#87259E #9E4A25 #3C9E25 #25789E
split-complementary
#87259E #789E25 #259E4A
monochromatic
#320E3B #5D196C #87259E #B131CF #C463DA

Accessibility & contrast

On white

7.53
#87259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#87259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87259E
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87259E#FFFFFF#000000##FFFFFF
##87259E1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87259e;
/* rgb */ color: rgb(135, 37, 158);
/* oklch */ color: oklch(47.3% 0.194 319.1);
Tailwind
colors: {
  custom: {
    50: '#ae6bbb',
    500: '#87259e',
    950: '#000000',
  },
}
SCSS
$custom: #87259e;
$custom-light: #ae6bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#87259e",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 288.595,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47252,
    "c": 0.19363,
    "h": 319.1
  },
  "luminance": 0.08943
}

Semantic roles & 50–950 ramp

primary
#87259E
secondary
#71C05F
accent
#E54362
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #87259E

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

Preview Lab → · Contrast checker → · Palette generator →

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