#87378E#87378E

#87378E is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.1% C 0.156 H 324.4°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#87378E
RGBrgb(135, 55, 142)
HSLhsl(295, 44%, 39%)
HSVhsv(295, 61%, 56%)
CMYKcmyk(4.9%, 61.3%, 0%, 44.3%)
CIE-LABlab(37.55, 46.64, -32.75)
CIE-LCHlch(37.55, 56.99, 324.92°)
OKLaboklab(48.14% 0.1267 -0.0907)
OKLCHoklch(48.14% 0.156 324.4)
XYZxyz(16.2399, 9.8372, 26.6293)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87378E #3E8E37
analogous
#5B378E #87378E #8E3769
triadic
#87378E #8E8737 #378E87
tetradic
#87378E #8E5B37 #3E8E37 #37698E
square
#87378E #8E5B37 #3E8E37 #37698E
split-complementary
#87378E #698E37 #378E5B
monochromatic
#331536 #5D2662 #87378E #B049B9 #C376CA

Accessibility & contrast

On white

7.08
#87378E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#87378E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87378E
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87378E#FFFFFF#000000##FFFFFF
##87378E1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285291
Deuteranopia (green-blind)
#455C8C
Tritanopia (blue-blind)
#8A435D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #87378e;
/* rgb */ color: rgb(135, 55, 142);
/* oklch */ color: oklch(48.1% 0.156 324.4);
Tailwind
colors: {
  custom: {
    50: '#ac73af',
    500: '#87378e',
    950: '#000000',
  },
}
SCSS
$custom: #87378e;
$custom-light: #ac73af;
$custom-dark: #000000;
JSON
{
  "hex": "#87378e",
  "rgb": {
    "r": 135,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 295.172,
    "s": 44.162,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48143,
    "c": 0.15587,
    "h": 324.4
  },
  "luminance": 0.09836
}

Semantic roles & 50–950 ramp

primary
#87378E
secondary
#74B36E
accent
#D4545E
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #87378E

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

Preview Lab → · Contrast checker → · Palette generator →

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