#87239F#87239F

#87239F is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.197 H 318.8°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#87239F
RGBrgb(135, 35, 159)
HSLhsl(288, 64%, 38%)
HSVhsv(288, 78%, 62%)
CMYKcmyk(15.1%, 78%, 0%, 37.6%)
CIE-LABlab(35.71, 58.00, -46.02)
CIE-LCHlch(35.71, 74.04, 321.57°)
OKLaboklab(47.16% 0.148 -0.1293)
OKLCHoklch(47.16% 0.197 318.8)
XYZxyz(16.8499, 8.8570, 33.6162)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87239F #3B9F23
analogous
#49239F #87239F #9F2379
triadic
#87239F #9F8723 #239F87
tetradic
#87239F #9F4923 #3B9F23 #23799F
square
#87239F #9F4923 #3B9F23 #23799F
split-complementary
#87239F #799F23 #239F49
monochromatic
#320D3B #5C186D #87239F #B22ED1 #C460DC

Accessibility & contrast

On white

7.58
#87239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#87239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87239F
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87239F#FFFFFF#000000##FFFFFF
##87239F1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#2B579C
Tritanopia (blue-blind)
#873E60
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #87239f;
/* rgb */ color: rgb(135, 35, 159);
/* oklch */ color: oklch(47.2% 0.197 318.8);
Tailwind
colors: {
  custom: {
    50: '#ae6abc',
    500: '#87239f',
    950: '#000000',
  },
}
SCSS
$custom: #87239f;
$custom-light: #ae6abc;
$custom-dark: #000000;
JSON
{
  "hex": "#87239f",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 288.387,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47155,
    "c": 0.19654,
    "h": 318.8
  },
  "luminance": 0.08856
}

Semantic roles & 50–950 ramp

primary
#87239F
secondary
#70C15D
accent
#E74161
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #87239F

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

Preview Lab → · Contrast checker → · Palette generator →

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