#87298E#87298E

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

Color values

HEX#87298E
RGBrgb(135, 41, 142)
HSLhsl(296, 55%, 36%)
HSVhsv(296, 71%, 56%)
CMYKcmyk(4.9%, 71.1%, 0%, 44.3%)
CIE-LABlab(35.38, 52.67, -36.18)
CIE-LCHlch(35.38, 63.90, 325.51°)
OKLaboklab(46.58% 0.1434 -0.1006)
OKLCHoklch(46.58% 0.175 324.9)
XYZxyz(15.6667, 8.6908, 26.4382)
Luminance0.0869 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87298E #308E29
analogous
#54298E #87298E #8E2962
triadic
#87298E #8E8729 #298E87
tetradic
#87298E #8E5429 #308E29 #29628E
square
#87298E #8E5429 #308E29 #29628E
split-complementary
#87298E #628E29 #298E54
monochromatic
#2D0E2F #5A1B5F #87298E #B437BD #C960D1

Accessibility & contrast

On white

7.67
#87298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87298E
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87298E#FFFFFF#000000##FFFFFF
##87298E1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4C91
Deuteranopia (green-blind)
#3D578B
Tritanopia (blue-blind)
#8A3958
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #87298e;
/* rgb */ color: rgb(135, 41, 142);
/* oklch */ color: oklch(46.6% 0.175 324.9);
Tailwind
colors: {
  custom: {
    50: '#ad6caf',
    500: '#87298e',
    950: '#000000',
  },
}
SCSS
$custom: #87298e;
$custom-light: #ad6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#87298e",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 295.842,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46578,
    "c": 0.1752,
    "h": 324.9
  },
  "luminance": 0.0869
}

Semantic roles & 50–950 ramp

primary
#87298E
secondary
#62B75C
accent
#DF4954
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #87298E

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

Preview Lab → · Contrast checker → · Palette generator →

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