#87398F#87398F

#87398F is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.5% C 0.154 H 323.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#87398F
RGBrgb(135, 57, 143)
HSLhsl(294, 43%, 39%)
HSVhsv(294, 60%, 56%)
CMYKcmyk(5.6%, 60.1%, 0%, 43.9%)
CIE-LABlab(37.95, 45.88, -32.72)
CIE-LCHlch(37.95, 56.35, 324.50°)
OKLaboklab(48.46% 0.1242 -0.0907)
OKLCHoklch(48.46% 0.154 323.9)
XYZxyz(16.4123, 10.0612, 27.0588)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87398F #418F39
analogous
#5C398F #87398F #8F396C
triadic
#87398F #8F8739 #398F87
tetradic
#87398F #8F5C39 #418F39 #396C8F
square
#87398F #8F5C39 #418F39 #396C8F
split-complementary
#87398F #6C8F39 #398F5C
monochromatic
#341637 #5E2863 #87398F #AE4DB8 #C279CA

Accessibility & contrast

On white

6.97
#87398F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#87398F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87398F
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87398F#FFFFFF#000000##FFFFFF
##87398F1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5392
Deuteranopia (green-blind)
#465D8D
Tritanopia (blue-blind)
#89455E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #87398f;
/* rgb */ color: rgb(135, 57, 143);
/* oklch */ color: oklch(48.5% 0.154 323.9);
Tailwind
colors: {
  custom: {
    50: '#ac74b0',
    500: '#87398f',
    950: '#000000',
  },
}
SCSS
$custom: #87398f;
$custom-light: #ac74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#87398f",
  "rgb": {
    "r": 135,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 294.419,
    "s": 43,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48455,
    "c": 0.15376,
    "h": 323.9
  },
  "luminance": 0.1006
}

Semantic roles & 50–950 ramp

primary
#87398F
secondary
#77B371
accent
#D35561
background
#FAF7FA
surface
#F4EDF5
border
#CEC8CF
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #87398F

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

Preview Lab → · Contrast checker → · Palette generator →

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