#8F1D7F#8F1D7F

#8F1D7F is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.9% C 0.181 H 334.7°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8F1D7F
RGBrgb(143, 29, 127)
HSLhsl(308, 66%, 34%)
HSVhsv(308, 80%, 56%)
CMYKcmyk(0%, 79.7%, 11.2%, 43.9%)
CIE-LABlab(34.50, 56.06, -28.20)
CIE-LCHlch(34.50, 62.75, 333.30°)
OKLaboklab(45.94% 0.1635 -0.0772)
OKLCHoklch(45.94% 0.181 334.7)
XYZxyz(15.5980, 8.2521, 20.8459)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1D7F #1D8F2D
analogous
#661D8F #8F1D7F #8F1D46
triadic
#8F1D7F #7F8F1D #1D7F8F
tetradic
#8F1D7F #8F661D #1D8F2D #1D468F
square
#8F1D7F #8F661D #1D8F2D #1D468F
split-complementary
#8F1D7F #468F1D #1D8F66
monochromatic
#290825 #5C1352 #8F1D7F #C227AC #DB4CC7

Accessibility & contrast

On white

7.92
#8F1D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8F1D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1D7F
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1D7F#FFFFFF#000000##FFFFFF
##8F1D7F1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4782
Deuteranopia (green-blind)
#47577C
Tritanopia (blue-blind)
#96284D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1d7f;
/* rgb */ color: rgb(143, 29, 127);
/* oklch */ color: oklch(45.9% 0.181 334.7);
Tailwind
colors: {
  custom: {
    50: '#b367a4',
    500: '#8f1d7f',
    950: '#000000',
  },
}
SCSS
$custom: #8f1d7f;
$custom-light: #b367a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1d7f",
  "rgb": {
    "r": 143,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 308.421,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4594,
    "c": 0.18078,
    "h": 334.7
  },
  "luminance": 0.08251
}

Semantic roles & 50–950 ramp

primary
#8F1D7F
secondary
#4BBD5B
accent
#E9573F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F1D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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