#8F379A#8F379A

#8F379A is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.0% C 0.171 H 323.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8F379A
RGBrgb(143, 55, 154)
HSLhsl(293, 47%, 41%)
HSVhsv(293, 64%, 60%)
CMYKcmyk(7.1%, 64.3%, 0%, 39.6%)
CIE-LABlab(39.42, 51.02, -36.99)
CIE-LCHlch(39.42, 63.02, 324.05°)
OKLaboklab(49.96% 0.137 -0.1029)
OKLCHoklch(49.96% 0.171 323.1)
XYZxyz(18.5261, 10.9061, 31.6949)
Luminance0.1090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F379A #429A37
analogous
#5D379A #8F379A #9A3773
triadic
#8F379A #9A8F37 #379A8F
tetradic
#8F379A #9A5D37 #429A37 #37739A
square
#8F379A #9A5D37 #429A37 #37739A
split-complementary
#8F379A #739A37 #379A5D
monochromatic
#3B1740 #65276D #8F379A #B34EC0 #C77BD0

Accessibility & contrast

On white

6.60
#8F379A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8F379A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F379A
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F379A#FFFFFF#000000##FFFFFF
##8F379A1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22569D
Deuteranopia (green-blind)
#456097
Tritanopia (blue-blind)
#914663
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8f379a;
/* rgb */ color: rgb(143, 55, 154);
/* oklch */ color: oklch(50.0% 0.171 323.1);
Tailwind
colors: {
  custom: {
    50: '#b374b8',
    500: '#8f379a',
    950: '#000000',
  },
}
SCSS
$custom: #8f379a;
$custom-light: #b374b8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f379a",
  "rgb": {
    "r": 143,
    "g": 55,
    "b": 154
  },
  "hsl": {
    "h": 293.333,
    "s": 47.368,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49964,
    "c": 0.17129,
    "h": 323.1
  },
  "luminance": 0.10905
}

Semantic roles & 50–950 ramp

primary
#8F379A
secondary
#7BB974
accent
#D75160
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8F379A

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

Preview Lab → · Contrast checker → · Palette generator →

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