#87258C#87258C

#87258C is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.1% C 0.178 H 325.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#87258C
RGBrgb(135, 37, 140)
HSLhsl(297, 58%, 35%)
HSVhsv(297, 74%, 55%)
CMYKcmyk(3.6%, 73.6%, 0%, 45.1%)
CIE-LABlab(34.74, 53.80, -35.98)
CIE-LCHlch(34.74, 64.72, 326.23°)
OKLaboklab(46.08% 0.1476 -0.1)
OKLCHoklch(46.08% 0.178 325.9)
XYZxyz(15.3865, 8.3685, 25.6107)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87258C #2A8C25
analogous
#53258C #87258C #8C255E
triadic
#87258C #8C8725 #258C87
tetradic
#87258C #8C5325 #2A8C25 #255E8C
square
#87258C #8C5325 #2A8C25 #255E8C
split-complementary
#87258C #5E8C25 #258C53
monochromatic
#2A0B2B #58185C #87258C #B632BC #CD58D3

Accessibility & contrast

On white

7.86
#87258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#87258C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87258C
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87258C#FFFFFF#000000##FFFFFF
##87258C1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094A8F
Deuteranopia (green-blind)
#3C5689
Tritanopia (blue-blind)
#8A3656
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #87258c;
/* rgb */ color: rgb(135, 37, 140);
/* oklch */ color: oklch(46.1% 0.178 325.9);
Tailwind
colors: {
  custom: {
    50: '#ad6aae',
    500: '#87258c',
    950: '#000000',
  },
}
SCSS
$custom: #87258c;
$custom-light: #ad6aae;
$custom-dark: #000000;
JSON
{
  "hex": "#87258c",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 297.087,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46079,
    "c": 0.17826,
    "h": 325.9
  },
  "luminance": 0.08367
}

Semantic roles & 50–950 ramp

primary
#87258C
secondary
#5AB855
accent
#E1464E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #87258C

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

Preview Lab → · Contrast checker → · Palette generator →

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