#87298F#87298F

#87298F is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.6% C 0.176 H 324.5°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#87298F
RGBrgb(135, 41, 143)
HSLhsl(295, 55%, 36%)
HSVhsv(295, 71%, 56%)
CMYKcmyk(5.6%, 71.3%, 0%, 43.9%)
CIE-LABlab(35.44, 52.86, -36.70)
CIE-LCHlch(35.44, 64.35, 325.22°)
OKLaboklab(46.64% 0.1434 -0.1021)
OKLCHoklch(46.64% 0.176 324.5)
XYZxyz(15.7421, 8.7209, 26.8354)
Luminance0.0872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87298F #318F29
analogous
#54298F #87298F #8F2964
triadic
#87298F #8F8729 #298F87
tetradic
#87298F #8F5429 #318F29 #29648F
square
#87298F #8F5429 #318F29 #29648F
split-complementary
#87298F #648F29 #298F54
monochromatic
#2D0E30 #5A1B5F #87298F #B437BF #C961D2

Accessibility & contrast

On white

7.65
#87298F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#87298F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87298F
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87298F#FFFFFF#000000##FFFFFF
##87298F1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4C92
Deuteranopia (green-blind)
#3C578C
Tritanopia (blue-blind)
#8A3A59
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #87298f;
/* rgb */ color: rgb(135, 41, 143);
/* oklch */ color: oklch(46.6% 0.176 324.5);
Tailwind
colors: {
  custom: {
    50: '#ad6cb0',
    500: '#87298f',
    950: '#000000',
  },
}
SCSS
$custom: #87298f;
$custom-light: #ad6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#87298f",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 295.294,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4664,
    "c": 0.17606,
    "h": 324.5
  },
  "luminance": 0.0872
}

Semantic roles & 50–950 ramp

primary
#87298F
secondary
#64B75C
accent
#DF4955
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #87298F

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

Preview Lab → · Contrast checker → · Palette generator →

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