#8F1A8D#8F1A8D

#8F1A8D is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.6% C 0.194 H 328.9°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#8F1A8D
RGBrgb(143, 26, 141)
HSLhsl(301, 69%, 33%)
HSVhsv(301, 82%, 56%)
CMYKcmyk(0%, 81.8%, 1.4%, 43.9%)
CIE-LABlab(35.01, 59.08, -36.08)
CIE-LCHlch(35.01, 69.23, 328.59°)
OKLaboklab(46.56% 0.166 -0.1)
OKLCHoklch(46.56% 0.194 328.9)
XYZxyz(16.5047, 8.5028, 25.9661)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1A8D #1A8F1C
analogous
#571A8F #8F1A8D #8F1A52
triadic
#8F1A8D #8D8F1A #1A8D8F
tetradic
#8F1A8D #8F571A #1A8F1C #1A528F
square
#8F1A8D #8F571A #1A8F1C #1A528F
split-complementary
#8F1A8D #528F1A #1A8F57
monochromatic
#270727 #5B115A #8F1A8D #C323C0 #DD46DB

Accessibility & contrast

On white

7.78
#8F1A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1A8D
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1A8D#FFFFFF#000000##FFFFFF
##8F1A8D1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f1a8d;
/* rgb */ color: rgb(143, 26, 141);
/* oklch */ color: oklch(46.6% 0.194 328.9);
Tailwind
colors: {
  custom: {
    50: '#b467af',
    500: '#8f1a8d',
    950: '#000000',
  },
}
SCSS
$custom: #8f1a8d;
$custom-light: #b467af;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1a8d",
  "rgb": {
    "r": 143,
    "g": 26,
    "b": 141
  },
  "hsl": {
    "h": 301.026,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46557,
    "c": 0.19377,
    "h": 328.9
  },
  "luminance": 0.08502
}

Semantic roles & 50–950 ramp

primary
#8F1A8D
secondary
#46BF48
accent
#EC3F3C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F1A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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