#87298D#87298D

#87298D is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.5% C 0.174 H 325.4°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#87298D
RGBrgb(135, 41, 141)
HSLhsl(296, 55%, 36%)
HSVhsv(296, 71%, 55%)
CMYKcmyk(4.3%, 70.9%, 0%, 44.7%)
CIE-LABlab(35.32, 52.49, -35.66)
CIE-LCHlch(35.32, 63.46, 325.81°)
OKLaboklab(46.52% 0.1434 -0.0991)
OKLCHoklch(46.52% 0.174 325.4)
XYZxyz(15.5920, 8.6609, 26.0446)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87298D #2F8D29
analogous
#55298D #87298D #8D2961
triadic
#87298D #8D8729 #298D87
tetradic
#87298D #8D5529 #2F8D29 #29618D
square
#87298D #8D5529 #2F8D29 #29618D
split-complementary
#87298D #618D29 #298D55
monochromatic
#2C0D2E #5A1B5E #87298D #B437BC #CA60D1

Accessibility & contrast

On white

7.69
#87298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#87298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87298D
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87298D#FFFFFF#000000##FFFFFF
##87298D1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114C90
Deuteranopia (green-blind)
#3D578A
Tritanopia (blue-blind)
#8A3958
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #87298d;
/* rgb */ color: rgb(135, 41, 141);
/* oklch */ color: oklch(46.5% 0.174 325.4);
Tailwind
colors: {
  custom: {
    50: '#ad6caf',
    500: '#87298d',
    950: '#000000',
  },
}
SCSS
$custom: #87298d;
$custom-light: #ad6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#87298d",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 296.4,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46517,
    "c": 0.17434,
    "h": 325.4
  },
  "luminance": 0.0866
}

Semantic roles & 50–950 ramp

primary
#87298D
secondary
#61B65B
accent
#DE4A52
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #87298D

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

Preview Lab → · Contrast checker → · Palette generator →

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