#8F1C8A#8F1C8A

#8F1C8A is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.5% C 0.190 H 330.1°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8F1C8A
RGBrgb(143, 28, 138)
HSLhsl(303, 67%, 34%)
HSVhsv(303, 80%, 56%)
CMYKcmyk(0%, 80.4%, 3.5%, 43.9%)
CIE-LABlab(35.02, 58.07, -34.22)
CIE-LCHlch(35.02, 67.40, 329.49°)
OKLaboklab(46.51% 0.1645 -0.0946)
OKLCHoklch(46.51% 0.19 330.1)
XYZxyz(16.3303, 8.5064, 24.8216)
Luminance0.0851 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1C8A #1C8F21
analogous
#5A1C8F #8F1C8A #8F1C50
triadic
#8F1C8A #8A8F1C #1C8A8F
tetradic
#8F1C8A #8F5A1C #1C8F21 #1C508F
square
#8F1C8A #8F5A1C #1C8F21 #1C508F
split-complementary
#8F1C8A #508F1C #1C8F5A
monochromatic
#290827 #5C1259 #8F1C8A #C226BB #DC4AD5

Accessibility & contrast

On white

7.77
#8F1C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8F1C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1C8A
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1C8A#FFFFFF#000000##FFFFFF
##8F1C8A1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f1c8a;
/* rgb */ color: rgb(143, 28, 138);
/* oklch */ color: oklch(46.5% 0.190 330.1);
Tailwind
colors: {
  custom: {
    50: '#b468ac',
    500: '#8f1c8a',
    950: '#000000',
  },
}
SCSS
$custom: #8f1c8a;
$custom-light: #b468ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1c8a",
  "rgb": {
    "r": 143,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 302.609,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46505,
    "c": 0.18979,
    "h": 330.1
  },
  "luminance": 0.08505
}

Semantic roles & 50–950 ramp

primary
#8F1C8A
secondary
#49BE4E
accent
#EA453E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F1C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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