#87368F#87368F

#87368F is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.1% C 0.158 H 324.0°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#87368F
RGBrgb(135, 54, 143)
HSLhsl(295, 45%, 39%)
HSVhsv(295, 62%, 56%)
CMYKcmyk(5.6%, 62.2%, 0%, 43.9%)
CIE-LABlab(37.43, 47.30, -33.54)
CIE-LCHlch(37.43, 57.99, 324.66°)
OKLaboklab(48.08% 0.1281 -0.093)
OKLCHoklch(48.08% 0.158 324)
XYZxyz(16.2683, 9.7733, 27.0108)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87368F #3E8F36
analogous
#5A368F #87368F #8F366A
triadic
#87368F #8F8736 #368F87
tetradic
#87368F #8F5A36 #3E8F36 #366A8F
square
#87368F #8F5A36 #3E8F36 #366A8F
split-complementary
#87368F #6A8F36 #368F5A
monochromatic
#331436 #5D2563 #87368F #B048BA #C375CB

Accessibility & contrast

On white

7.11
#87368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#87368F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87368F
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87368F#FFFFFF#000000##FFFFFF
##87368F1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265292
Deuteranopia (green-blind)
#445B8D
Tritanopia (blue-blind)
#8A435D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #87368f;
/* rgb */ color: rgb(135, 54, 143);
/* oklch */ color: oklch(48.1% 0.158 324.0);
Tailwind
colors: {
  custom: {
    50: '#ad72b0',
    500: '#87368f',
    950: '#000000',
  },
}
SCSS
$custom: #87368f;
$custom-light: #ad72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#87368f",
  "rgb": {
    "r": 135,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 294.607,
    "s": 45.178,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48077,
    "c": 0.15831,
    "h": 324
  },
  "luminance": 0.09772
}

Semantic roles & 50–950 ramp

primary
#87368F
secondary
#74B36D
accent
#D5535F
background
#FAF7FA
surface
#F5EDF5
border
#CFC8CF
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #87368F

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

Preview Lab → · Contrast checker → · Palette generator →

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