#87299A#87299A

#87299A is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.3% C 0.186 H 320.3°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#87299A
RGBrgb(135, 41, 154)
HSLhsl(290, 58%, 38%)
HSVhsv(290, 73%, 60%)
CMYKcmyk(12.3%, 73.4%, 0%, 39.6%)
CIE-LABlab(36.12, 54.92, -42.33)
CIE-LCHlch(36.12, 69.34, 322.38°)
OKLaboklab(47.34% 0.1429 -0.1186)
OKLCHoklch(47.34% 0.186 320.3)
XYZxyz(16.6166, 9.0707, 31.4412)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87299A #3C9A29
analogous
#4F299A #87299A #9A2974
triadic
#87299A #9A8729 #299A87
tetradic
#87299A #9A4F29 #3C9A29 #29749A
square
#87299A #9A4F29 #3C9A29 #29749A
split-complementary
#87299A #749A29 #299A4F
monochromatic
#320F39 #5D1C6A #87299A #B137CA #C467D7

Accessibility & contrast

On white

7.46
#87299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#87299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87299A
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87299A#FFFFFF#000000##FFFFFF
##87299A1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#345897
Tritanopia (blue-blind)
#883F5F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #87299a;
/* rgb */ color: rgb(135, 41, 154);
/* oklch */ color: oklch(47.3% 0.186 320.3);
Tailwind
colors: {
  custom: {
    50: '#ad6cb8',
    500: '#87299a',
    950: '#000000',
  },
}
SCSS
$custom: #87299a;
$custom-light: #ad6cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#87299a",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 289.912,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47343,
    "c": 0.18569,
    "h": 320.3
  },
  "luminance": 0.0907
}

Semantic roles & 50–950 ramp

primary
#87299A
secondary
#71BD62
accent
#E14761
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #87299A

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

Preview Lab → · Contrast checker → · Palette generator →

#87299A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva