#87297D#87297D

#87297D is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.6% C 0.161 H 332.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#87297D
RGBrgb(135, 41, 125)
HSLhsl(306, 53%, 35%)
HSVhsv(306, 70%, 53%)
CMYKcmyk(0%, 69.6%, 7.4%, 47.1%)
CIE-LABlab(34.43, 49.69, -27.15)
CIE-LCHlch(34.43, 56.63, 331.35°)
OKLaboklab(45.59% 0.1428 -0.0745)
OKLCHoklch(45.59% 0.161 332.5)
XYZxyz(14.4863, 8.2186, 20.2214)
Luminance0.0822 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87297D #298733
analogous
#622987 #87297D #87294E
triadic
#87297D #7D8729 #297D87
tetradic
#87297D #876229 #298733 #294E87
square
#87297D #876229 #298733 #294E87
split-complementary
#87297D #4E8729 #298762
monochromatic
#290C26 #581B52 #87297D #B637A8 #CE5DC2

Accessibility & contrast

On white

7.94
#87297D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#87297D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87297D
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87297D#FFFFFF#000000##FFFFFF
##87297D1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25487F
Deuteranopia (green-blind)
#46567B
Tritanopia (blue-blind)
#8D324F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #87297d;
/* rgb */ color: rgb(135, 41, 125);
/* oklch */ color: oklch(45.6% 0.161 332.5);
Tailwind
colors: {
  custom: {
    50: '#ad6ba3',
    500: '#87297d',
    950: '#000000',
  },
}
SCSS
$custom: #87297d;
$custom-light: #ad6ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#87297d",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 125
  },
  "hsl": {
    "h": 306.383,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45588,
    "c": 0.16103,
    "h": 332.5
  },
  "luminance": 0.08217
}

Semantic roles & 50–950 ramp

primary
#87297D
secondary
#59B362
accent
#DD5B4B
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #87297D

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

Preview Lab → · Contrast checker → · Palette generator →

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