#87299F#87299F

#87299F is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.190 H 318.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#87299F
RGBrgb(135, 41, 159)
HSLhsl(288, 59%, 39%)
HSVhsv(288, 74%, 62%)
CMYKcmyk(15.1%, 74.2%, 0%, 37.6%)
CIE-LABlab(36.44, 55.89, -44.84)
CIE-LCHlch(36.44, 71.66, 321.26°)
OKLaboklab(47.68% 0.1425 -0.1259)
OKLCHoklch(47.68% 0.19 318.5)
XYZxyz(17.0418, 9.2408, 33.6801)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87299F #419F29
analogous
#4C299F #87299F #9F297C
triadic
#87299F #9F8729 #299F87
tetradic
#87299F #9F4C29 #419F29 #297C9F
square
#87299F #9F4C29 #419F29 #297C9F
split-complementary
#87299F #7C9F29 #299F4C
monochromatic
#34103E #5E1C6E #87299F #AE39CC #C26AD9

Accessibility & contrast

On white

7.37
#87299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#87299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87299F
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87299F#FFFFFF#000000##FFFFFF
##87299F1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#30599C
Tritanopia (blue-blind)
#874162
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #87299f;
/* rgb */ color: rgb(135, 41, 159);
/* oklch */ color: oklch(47.7% 0.190 318.5);
Tailwind
colors: {
  custom: {
    50: '#ae6dbc',
    500: '#87299f',
    950: '#000000',
  },
}
SCSS
$custom: #87299f;
$custom-light: #ae6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#87299f",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 287.797,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47677,
    "c": 0.19013,
    "h": 318.5
  },
  "luminance": 0.0924
}

Semantic roles & 50–950 ramp

primary
#87299F
secondary
#77BF65
accent
#E24665
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #87299F

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

Preview Lab → · Contrast checker → · Palette generator →

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