#87388D#87388D

#87388D is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.2% C 0.153 H 324.8°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#87388D
RGBrgb(135, 56, 141)
HSLhsl(296, 43%, 39%)
HSVhsv(296, 60%, 55%)
CMYKcmyk(4.3%, 60.3%, 0%, 44.7%)
CIE-LABlab(37.67, 45.97, -31.95)
CIE-LCHlch(37.67, 55.98, 325.20°)
OKLaboklab(48.21% 0.1253 -0.0884)
OKLCHoklch(48.21% 0.153 324.8)
XYZxyz(16.2132, 9.9032, 26.2517)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87388D #3E8D38
analogous
#5C388D #87388D #8D3868
triadic
#87388D #8D8738 #388D87
tetradic
#87388D #8D5C38 #3E8D38 #38688D
square
#87388D #8D5C38 #3E8D38 #38688D
split-complementary
#87388D #688D38 #388D5C
monochromatic
#331535 #5D2761 #87388D #B04BB7 #C377C9

Accessibility & contrast

On white

7.05
#87388D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#87388D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87388D
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87388D#FFFFFF#000000##FFFFFF
##87388D1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5290
Deuteranopia (green-blind)
#475C8B
Tritanopia (blue-blind)
#8A445D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #87388d;
/* rgb */ color: rgb(135, 56, 141);
/* oklch */ color: oklch(48.2% 0.153 324.8);
Tailwind
colors: {
  custom: {
    50: '#ac74af',
    500: '#87388d',
    950: '#000000',
  },
}
SCSS
$custom: #87388d;
$custom-light: #ac74af;
$custom-dark: #000000;
JSON
{
  "hex": "#87388d",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 295.765,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48213,
    "c": 0.1534,
    "h": 324.8
  },
  "luminance": 0.09902
}

Semantic roles & 50–950 ramp

primary
#87388D
secondary
#74B26F
accent
#D3555E
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #87388D

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

Preview Lab → · Contrast checker → · Palette generator →

#87388D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva