#87258F#87258F

#87258F is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.3% C 0.181 H 324.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#87258F
RGBrgb(135, 37, 143)
HSLhsl(295, 59%, 35%)
HSVhsv(295, 74%, 56%)
CMYKcmyk(5.6%, 74.1%, 0%, 43.9%)
CIE-LABlab(34.92, 54.34, -37.53)
CIE-LCHlch(34.92, 66.04, 325.37°)
OKLaboklab(46.27% 0.1475 -0.1045)
OKLCHoklch(46.27% 0.181 324.7)
XYZxyz(15.6108, 8.4582, 26.7916)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87258F #2D8F25
analogous
#52258F #87258F #8F2562
triadic
#87258F #8F8725 #258F87
tetradic
#87258F #8F5225 #2D8F25 #25628F
square
#87258F #8F5225 #2D8F25 #25628F
split-complementary
#87258F #628F25 #258F52
monochromatic
#2B0C2E #59185E #87258F #B532C0 #CB5AD4

Accessibility & contrast

On white

7.80
#87258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#87258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87258F
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87258F#FFFFFF#000000##FFFFFF
##87258F1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B92
Deuteranopia (green-blind)
#3A568C
Tritanopia (blue-blind)
#8A3758
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #87258f;
/* rgb */ color: rgb(135, 37, 143);
/* oklch */ color: oklch(46.3% 0.181 324.7);
Tailwind
colors: {
  custom: {
    50: '#ad6ab0',
    500: '#87258f',
    950: '#000000',
  },
}
SCSS
$custom: #87258f;
$custom-light: #ad6ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#87258f",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 295.472,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46266,
    "c": 0.18078,
    "h": 324.7
  },
  "luminance": 0.08457
}

Semantic roles & 50–950 ramp

primary
#87258F
secondary
#5EB957
accent
#E24652
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #87258F

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

Preview Lab → · Contrast checker → · Palette generator →

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