#8F378D#8F378D

#8F378D is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.2% C 0.160 H 328.6°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#8F378D
RGBrgb(143, 55, 141)
HSLhsl(301, 44%, 39%)
HSVhsv(301, 62%, 56%)
CMYKcmyk(0%, 61.5%, 1.4%, 43.9%)
CIE-LABlab(38.72, 48.60, -30.21)
CIE-LCHlch(38.72, 57.22, 328.13°)
OKLaboklab(49.23% 0.1362 -0.0832)
OKLCHoklch(49.23% 0.16 328.6)
XYZxyz(17.5014, 10.4963, 26.2983)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F378D #378F39
analogous
#65378F #8F378D #8F3761
triadic
#8F378D #8D8F37 #378D8F
tetradic
#8F378D #8F6537 #378F39 #37618F
square
#8F378D #8F6537 #378F39 #37618F
split-complementary
#8F378D #618F37 #378F65
monochromatic
#371536 #632661 #8F378D #B94AB7 #CA76C8

Accessibility & contrast

On white

6.78
#8F378D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8F378D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F378D
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F378D#FFFFFF#000000##FFFFFF
##8F378D1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5490
Deuteranopia (green-blind)
#4C5F8B
Tritanopia (blue-blind)
#94415D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f378d;
/* rgb */ color: rgb(143, 55, 141);
/* oklch */ color: oklch(49.2% 0.160 328.6);
Tailwind
colors: {
  custom: {
    50: '#b274ae',
    500: '#8f378d',
    950: '#000000',
  },
}
SCSS
$custom: #8f378d;
$custom-light: #b274ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8f378d",
  "rgb": {
    "r": 143,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 301.364,
    "s": 44.444,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49226,
    "c": 0.15957,
    "h": 328.6
  },
  "luminance": 0.10495
}

Semantic roles & 50–950 ramp

primary
#8F378D
secondary
#6FB370
accent
#D45754
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F378D

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

Preview Lab → · Contrast checker → · Palette generator →

#8F378D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva