#8F1C8D#8F1C8D

#8F1C8D is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.7% C 0.192 H 328.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#8F1C8D
RGBrgb(143, 28, 141)
HSLhsl(301, 67%, 34%)
HSVhsv(301, 80%, 56%)
CMYKcmyk(0%, 80.4%, 1.4%, 43.9%)
CIE-LABlab(35.19, 58.55, -35.79)
CIE-LCHlch(35.19, 68.63, 328.57°)
OKLaboklab(46.69% 0.1645 -0.0992)
OKLCHoklch(46.69% 0.192 328.9)
XYZxyz(16.5505, 8.5945, 25.9813)
Luminance0.0859 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1C8D #1C8F1E
analogous
#571C8F #8F1C8D #8F1C53
triadic
#8F1C8D #8D8F1C #1C8D8F
tetradic
#8F1C8D #8F571C #1C8F1E #1C538F
square
#8F1C8D #8F571C #1C8F1E #1C538F
split-complementary
#8F1C8D #538F1C #1C8F57
monochromatic
#290828 #5C125B #8F1C8D #C226BF #DC4AD9

Accessibility & contrast

On white

7.72
#8F1C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8F1C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1C8D
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1C8D#FFFFFF#000000##FFFFFF
##8F1C8D1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#3F588A
Tritanopia (blue-blind)
#942F55
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f1c8d;
/* rgb */ color: rgb(143, 28, 141);
/* oklch */ color: oklch(46.7% 0.192 328.9);
Tailwind
colors: {
  custom: {
    50: '#b468af',
    500: '#8f1c8d',
    950: '#000000',
  },
}
SCSS
$custom: #8f1c8d;
$custom-light: #b468af;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1c8d",
  "rgb": {
    "r": 143,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 301.043,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46686,
    "c": 0.19205,
    "h": 328.9
  },
  "luminance": 0.08593
}

Semantic roles & 50–950 ramp

primary
#8F1C8D
secondary
#49BE4B
accent
#EA413E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F1C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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