#87239E#87239E

#87239E is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.1% C 0.196 H 319.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#87239E
RGBrgb(135, 35, 158)
HSLhsl(289, 64%, 38%)
HSVhsv(289, 78%, 62%)
CMYKcmyk(14.6%, 77.8%, 0%, 38%)
CIE-LABlab(35.64, 57.81, -45.53)
CIE-LCHlch(35.64, 73.59, 321.78°)
OKLaboklab(47.09% 0.1481 -0.1279)
OKLCHoklch(47.09% 0.196 319.2)
XYZxyz(16.7634, 8.8224, 33.1610)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87239E #3A9E23
analogous
#49239E #87239E #9E2378
triadic
#87239E #9E8723 #239E87
tetradic
#87239E #9E4923 #3A9E23 #23789E
square
#87239E #9E4923 #3A9E23 #23789E
split-complementary
#87239E #789E23 #239E49
monochromatic
#310D3A #5C186C #87239E #B22ED0 #C560DC

Accessibility & contrast

On white

7.60
#87239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#87239E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87239E
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87239E#FFFFFF#000000##FFFFFF
##87239E1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#2C579B
Tritanopia (blue-blind)
#873D60
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #87239e;
/* rgb */ color: rgb(135, 35, 158);
/* oklch */ color: oklch(47.1% 0.196 319.2);
Tailwind
colors: {
  custom: {
    50: '#ae6abb',
    500: '#87239e',
    950: '#000000',
  },
}
SCSS
$custom: #87239e;
$custom-light: #ae6abb;
$custom-dark: #000000;
JSON
{
  "hex": "#87239e",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 288.78,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47086,
    "c": 0.19569,
    "h": 319.2
  },
  "luminance": 0.08822
}

Semantic roles & 50–950 ramp

primary
#87239E
secondary
#6FC15C
accent
#E74160
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #87239E

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

Preview Lab → · Contrast checker → · Palette generator →

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