#87299E#87299E

#87299E is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.189 H 318.9°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#87299E
RGBrgb(135, 41, 158)
HSLhsl(288, 59%, 39%)
HSVhsv(288, 74%, 62%)
CMYKcmyk(14.6%, 74.1%, 0%, 38%)
CIE-LABlab(36.38, 55.70, -44.34)
CIE-LCHlch(36.38, 71.19, 321.48°)
OKLaboklab(47.61% 0.1426 -0.1244)
OKLCHoklch(47.61% 0.189 318.9)
XYZxyz(16.9553, 9.2062, 33.2250)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87299E #409E29
analogous
#4D299E #87299E #9E297B
triadic
#87299E #9E8729 #299E87
tetradic
#87299E #9E4D29 #409E29 #297B9E
square
#87299E #9E4D29 #409E29 #297B9E
split-complementary
#87299E #7B9E29 #299E4D
monochromatic
#34103D #5D1C6D #87299E #AF39CC #C269D8

Accessibility & contrast

On white

7.39
#87299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#87299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87299E
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87299E#FFFFFF#000000##FFFFFF
##87299E1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#31599B
Tritanopia (blue-blind)
#874161
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #87299e;
/* rgb */ color: rgb(135, 41, 158);
/* oklch */ color: oklch(47.6% 0.189 318.9);
Tailwind
colors: {
  custom: {
    50: '#ae6cbb',
    500: '#87299e',
    950: '#000000',
  },
}
SCSS
$custom: #87299e;
$custom-light: #ae6cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#87299e",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 288.205,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47609,
    "c": 0.18925,
    "h": 318.9
  },
  "luminance": 0.09205
}

Semantic roles & 50–950 ramp

primary
#87299E
secondary
#76BF64
accent
#E24665
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #87299E

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

Preview Lab → · Contrast checker → · Palette generator →

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