#87389F#87389F

#87389F is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.3% C 0.171 H 317.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#87389F
RGBrgb(135, 56, 159)
HSLhsl(286, 48%, 42%)
HSVhsv(286, 65%, 62%)
CMYKcmyk(15.1%, 64.8%, 0%, 37.6%)
CIE-LABlab(38.70, 49.57, -41.23)
CIE-LCHlch(38.70, 64.48, 320.25°)
OKLaboklab(49.29% 0.1259 -0.1155)
OKLCHoklch(49.29% 0.171 317.5)
XYZxyz(17.6630, 10.4832, 33.8872)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87389F #509F38
analogous
#53389F #87389F #9F3884
triadic
#87389F #9F8738 #389F87
tetradic
#87389F #9F5338 #509F38 #38849F
square
#87389F #9F5338 #509F38 #38849F
split-complementary
#87389F #849F38 #389F53
monochromatic
#3A1844 #612872 #87389F #A852C2 #BF7FD2

Accessibility & contrast

On white

6.78
#87389F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#87389F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87389F
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87389F#FFFFFF#000000##FFFFFF
##87389F1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1556A2
Deuteranopia (green-blind)
#3B5E9C
Tritanopia (blue-blind)
#864A66
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #87389f;
/* rgb */ color: rgb(135, 56, 159);
/* oklch */ color: oklch(49.3% 0.171 317.5);
Tailwind
colors: {
  custom: {
    50: '#ad74bc',
    500: '#87389f',
    950: '#000000',
  },
}
SCSS
$custom: #87389f;
$custom-light: #ad74bc;
$custom-dark: #000000;
JSON
{
  "hex": "#87389f",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 159
  },
  "hsl": {
    "h": 286.019,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49291,
    "c": 0.17086,
    "h": 317.5
  },
  "luminance": 0.10482
}

Semantic roles & 50–950 ramp

primary
#87389F
secondary
#87BB77
accent
#D75070
background
#FAF7FB
surface
#F5EDF6
border
#CFC8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #87389F

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

Preview Lab → · Contrast checker → · Palette generator →

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