#87239C#87239C

#87239C is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.9% C 0.194 H 319.9°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#87239C
RGBrgb(135, 35, 156)
HSLhsl(290, 63%, 37%)
HSVhsv(290, 78%, 61%)
CMYKcmyk(13.5%, 77.6%, 0%, 38.8%)
CIE-LABlab(35.51, 57.43, -44.53)
CIE-LCHlch(35.51, 72.67, 322.21°)
OKLaboklab(46.95% 0.1484 -0.125)
OKLCHoklch(46.95% 0.194 319.9)
XYZxyz(16.5927, 8.7541, 32.2618)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87239C #389C23
analogous
#4B239C #87239C #9C2374
triadic
#87239C #9C8723 #239C87
tetradic
#87239C #9C4B23 #389C23 #23749C
square
#87239C #9C4B23 #389C23 #23749C
split-complementary
#87239C #749C23 #239C4B
monochromatic
#300D38 #5C186A #87239C #B22ECE #C55EDB

Accessibility & contrast

On white

7.63
#87239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#87239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87239C
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87239C#FFFFFF#000000##FFFFFF
##87239C1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#2E5799
Tritanopia (blue-blind)
#873C5F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #87239c;
/* rgb */ color: rgb(135, 35, 156);
/* oklch */ color: oklch(46.9% 0.194 319.9);
Tailwind
colors: {
  custom: {
    50: '#ae6aba',
    500: '#87239c',
    950: '#000000',
  },
}
SCSS
$custom: #87239c;
$custom-light: #ae6aba;
$custom-dark: #000000;
JSON
{
  "hex": "#87239c",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 289.587,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46948,
    "c": 0.19397,
    "h": 319.9
  },
  "luminance": 0.08753
}

Semantic roles & 50–950 ramp

primary
#87239C
secondary
#6DC05B
accent
#E6415E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #87239C

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

Preview Lab → · Contrast checker → · Palette generator →

#87239C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva