#87388F#87388F

#87388F is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.3% C 0.155 H 323.9°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#87388F
RGBrgb(135, 56, 143)
HSLhsl(294, 44%, 39%)
HSVhsv(294, 61%, 56%)
CMYKcmyk(5.6%, 60.8%, 0%, 43.9%)
CIE-LABlab(37.78, 46.36, -33.00)
CIE-LCHlch(37.78, 56.90, 324.55°)
OKLaboklab(48.33% 0.1255 -0.0915)
OKLCHoklch(48.33% 0.155 323.9)
XYZxyz(16.3633, 9.9633, 27.0425)
Luminance0.0996 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87388F #408F38
analogous
#5C388F #87388F #8F386C
triadic
#87388F #8F8738 #388F87
tetradic
#87388F #8F5C38 #408F38 #386C8F
square
#87388F #8F5C38 #408F38 #386C8F
split-complementary
#87388F #6C8F38 #388F5C
monochromatic
#341637 #5D2763 #87388F #AF4BB9 #C277CA

Accessibility & contrast

On white

7.02
#87388F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#87388F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87388F
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87388F#FFFFFF#000000##FFFFFF
##87388F1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295392
Deuteranopia (green-blind)
#465C8D
Tritanopia (blue-blind)
#89445E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #87388f;
/* rgb */ color: rgb(135, 56, 143);
/* oklch */ color: oklch(48.3% 0.155 323.9);
Tailwind
colors: {
  custom: {
    50: '#ac74b0',
    500: '#87388f',
    950: '#000000',
  },
}
SCSS
$custom: #87388f;
$custom-light: #ac74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#87388f",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 143
  },
  "hsl": {
    "h": 294.483,
    "s": 43.719,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48327,
    "c": 0.15529,
    "h": 323.9
  },
  "luminance": 0.09962
}

Semantic roles & 50–950 ramp

primary
#87388F
secondary
#76B370
accent
#D35460
background
#FAF7FA
surface
#F5EDF5
border
#CFC8CF
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #87388F

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

Preview Lab → · Contrast checker → · Palette generator →

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