#87259F#87259F

#87259F is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.195 H 318.7°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#87259F
RGBrgb(135, 37, 159)
HSLhsl(288, 62%, 38%)
HSVhsv(288, 77%, 62%)
CMYKcmyk(15.1%, 76.7%, 0%, 37.6%)
CIE-LABlab(35.94, 57.33, -45.65)
CIE-LCHlch(35.94, 73.28, 321.47°)
OKLaboklab(47.32% 0.1462 -0.1282)
OKLCHoklch(47.32% 0.195 318.7)
XYZxyz(16.9104, 8.9780, 33.6364)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87259F #3D9F25
analogous
#4A259F #87259F #9F257A
triadic
#87259F #9F8725 #259F87
tetradic
#87259F #9F4A25 #3D9F25 #257A9F
square
#87259F #9F4A25 #3D9F25 #257A9F
split-complementary
#87259F #7A9F25 #259F4A
monochromatic
#330E3C #5D196D #87259F #B032CF #C364DB

Accessibility & contrast

On white

7.51
#87259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#87259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87259F
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87259F#FFFFFF#000000##FFFFFF
##87259F1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#2D589C
Tritanopia (blue-blind)
#873F61
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #87259f;
/* rgb */ color: rgb(135, 37, 159);
/* oklch */ color: oklch(47.3% 0.195 318.7);
Tailwind
colors: {
  custom: {
    50: '#ae6bbc',
    500: '#87259f',
    950: '#000000',
  },
}
SCSS
$custom: #87259f;
$custom-light: #ae6bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#87259f",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 288.197,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47321,
    "c": 0.1945,
    "h": 318.7
  },
  "luminance": 0.08977
}

Semantic roles & 50–950 ramp

primary
#87259F
secondary
#73C05F
accent
#E54263
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #87259F

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

Preview Lab → · Contrast checker → · Palette generator →

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