#8F1D8A#8F1D8A

#8F1D8A is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.6% C 0.189 H 330.1°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#8F1D8A
RGBrgb(143, 29, 138)
HSLhsl(303, 66%, 34%)
HSVhsv(303, 80%, 56%)
CMYKcmyk(0%, 79.7%, 3.5%, 43.9%)
CIE-LABlab(35.11, 57.79, -34.06)
CIE-LCHlch(35.11, 67.08, 329.48°)
OKLaboklab(46.57% 0.1637 -0.0942)
OKLCHoklch(46.57% 0.189 330.1)
XYZxyz(16.3544, 8.5547, 24.8297)
Luminance0.0855 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1D8A #1D8F22
analogous
#5B1D8F #8F1D8A #8F1D51
triadic
#8F1D8A #8A8F1D #1D8A8F
tetradic
#8F1D8A #8F5B1D #1D8F22 #1D518F
square
#8F1D8A #8F5B1D #1D8F22 #1D518F
split-complementary
#8F1D8A #518F1D #1D8F5B
monochromatic
#290828 #5C1359 #8F1D8A #C227BB #DB4CD4

Accessibility & contrast

On white

7.75
#8F1D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8F1D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1D8A
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1D8A#FFFFFF#000000##FFFFFF
##8F1D8A1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09498D
Deuteranopia (green-blind)
#415887
Tritanopia (blue-blind)
#952E53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f1d8a;
/* rgb */ color: rgb(143, 29, 138);
/* oklch */ color: oklch(46.6% 0.189 330.1);
Tailwind
colors: {
  custom: {
    50: '#b368ac',
    500: '#8f1d8a',
    950: '#000000',
  },
}
SCSS
$custom: #8f1d8a;
$custom-light: #b368ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1d8a",
  "rgb": {
    "r": 143,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 302.632,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46574,
    "c": 0.18887,
    "h": 330.1
  },
  "luminance": 0.08553
}

Semantic roles & 50–950 ramp

primary
#8F1D8A
secondary
#4BBD50
accent
#E9463F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F1D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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