#87299D#87299D

#87299D is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.5% C 0.188 H 319.2°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#87299D
RGBrgb(135, 41, 157)
HSLhsl(289, 59%, 39%)
HSVhsv(289, 74%, 62%)
CMYKcmyk(14%, 73.9%, 0%, 38.4%)
CIE-LABlab(36.31, 55.50, -43.84)
CIE-LCHlch(36.31, 70.73, 321.70°)
OKLaboklab(47.54% 0.1427 -0.123)
OKLCHoklch(47.54% 0.188 319.2)
XYZxyz(16.8696, 9.1719, 32.7735)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87299D #3F9D29
analogous
#4D299D #87299D #9D2979
triadic
#87299D #9D8729 #299D87
tetradic
#87299D #9D4D29 #3F9D29 #29799D
square
#87299D #9D4D29 #3F9D29 #29799D
split-complementary
#87299D #799D29 #299D4D
monochromatic
#34103C #5D1C6C #87299D #AF38CB #C369D8

Accessibility & contrast

On white

7.41
#87299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#87299D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87299D
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87299D#FFFFFF#000000##FFFFFF
##87299D1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#31599A
Tritanopia (blue-blind)
#874061
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #87299d;
/* rgb */ color: rgb(135, 41, 157);
/* oklch */ color: oklch(47.5% 0.188 319.2);
Tailwind
colors: {
  custom: {
    50: '#ae6cba',
    500: '#87299d',
    950: '#000000',
  },
}
SCSS
$custom: #87299d;
$custom-light: #ae6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#87299d",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 288.621,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47542,
    "c": 0.18835,
    "h": 319.2
  },
  "luminance": 0.09171
}

Semantic roles & 50–950 ramp

primary
#87299D
secondary
#75BE64
accent
#E24664
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #87299D

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

Preview Lab → · Contrast checker → · Palette generator →

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