#8F3378#8F3378

#8F3378 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.7% C 0.148 H 338.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8F3378
RGBrgb(143, 51, 120)
HSLhsl(315, 47%, 38%)
HSVhsv(315, 64%, 56%)
CMYKcmyk(0%, 64.3%, 16.1%, 43.9%)
CIE-LABlab(37.05, 46.85, -19.85)
CIE-LCHlch(37.05, 50.88, 337.04°)
OKLaboklab(47.68% 0.1384 -0.0536)
OKLCHoklch(47.68% 0.148 338.8)
XYZxyz(15.9020, 9.5647, 18.7743)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3378 #338F4A
analogous
#78338F #8F3378 #8F334A
triadic
#8F3378 #788F33 #33788F
tetradic
#8F3378 #8F7833 #338F4A #334A8F
square
#8F3378 #8F7833 #338F4A #334A8F
split-complementary
#8F3378 #4A8F33 #338F78
monochromatic
#35132C #622352 #8F3378 #BC439E #CC70B5

Accessibility & contrast

On white

7.21
#8F3378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8F3378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F3378
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3378#FFFFFF#000000##FFFFFF
##8F33781.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374E7A
Deuteranopia (green-blind)
#535C76
Tritanopia (blue-blind)
#973651
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f3378;
/* rgb */ color: rgb(143, 51, 120);
/* oklch */ color: oklch(47.7% 0.148 338.8);
Tailwind
colors: {
  custom: {
    50: '#b3719f',
    500: '#8f3378',
    950: '#000000',
  },
}
SCSS
$custom: #8f3378;
$custom-light: #b3719f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3378",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 120
  },
  "hsl": {
    "h": 315,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47675,
    "c": 0.14842,
    "h": 338.8
  },
  "luminance": 0.09563
}

Semantic roles & 50–950 ramp

primary
#8F3378
secondary
#6AB47C
accent
#D77251
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8F3378

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

Preview Lab → · Contrast checker → · Palette generator →

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