#87239B#87239B

#87239B is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.9% C 0.193 H 320.2°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#87239B
RGBrgb(135, 35, 155)
HSLhsl(290, 63%, 37%)
HSVhsv(290, 77%, 61%)
CMYKcmyk(12.9%, 77.4%, 0%, 39.2%)
CIE-LABlab(35.44, 57.25, -44.03)
CIE-LCHlch(35.44, 72.22, 322.44°)
OKLaboklab(46.88% 0.1485 -0.1235)
OKLCHoklch(46.88% 0.193 320.2)
XYZxyz(16.5084, 8.7204, 31.8176)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87239B #379B23
analogous
#4B239B #87239B #9B2373
triadic
#87239B #9B8723 #239B87
tetradic
#87239B #9B4B23 #379B23 #23739B
square
#87239B #9B4B23 #379B23 #23739B
split-complementary
#87239B #739B23 #239B4B
monochromatic
#300C37 #5C1869 #87239B #B22ECD #C65EDB

Accessibility & contrast

On white

7.65
#87239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#87239B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87239B
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87239B#FFFFFF#000000##FFFFFF
##87239B1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#2F5798
Tritanopia (blue-blind)
#883C5E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #87239b;
/* rgb */ color: rgb(135, 35, 155);
/* oklch */ color: oklch(46.9% 0.193 320.2);
Tailwind
colors: {
  custom: {
    50: '#ae6ab9',
    500: '#87239b',
    950: '#000000',
  },
}
SCSS
$custom: #87239b;
$custom-light: #ae6ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#87239b",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 290,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4688,
    "c": 0.19312,
    "h": 320.2
  },
  "luminance": 0.0872
}

Semantic roles & 50–950 ramp

primary
#87239B
secondary
#6BBF5A
accent
#E6425D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #87239B

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

Preview Lab → · Contrast checker → · Palette generator →

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