#8F1A9F#8F1A9F

#8F1A9F is a mid, highly saturated purple. Relative luminance 0.091; OKLCH L 47.7% C 0.208 H 322.4°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8F1A9F
RGBrgb(143, 26, 159)
HSLhsl(293, 72%, 36%)
HSVhsv(293, 84%, 62%)
CMYKcmyk(10.1%, 83.6%, 0%, 37.6%)
CIE-LABlab(36.14, 62.14, -45.25)
CIE-LCHlch(36.14, 76.87, 323.93°)
OKLaboklab(47.72% 0.1644 -0.1268)
OKLCHoklch(47.72% 0.208 322.4)
XYZxyz(17.9545, 9.0827, 33.6016)
Luminance0.0908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1A9F #2A9F1A
analogous
#4D1A9F #8F1A9F #9F1A6D
triadic
#8F1A9F #9F8F1A #1A9F8F
tetradic
#8F1A9F #9F4D1A #2A9F1A #1A6D9F
square
#8F1A9F #9F4D1A #2A9F1A #1A6D9F
split-complementary
#8F1A9F #6D9F1A #1A9F4D
monochromatic
#300936 #60116A #8F1A9F #BE23D4 #D151E3

Accessibility & contrast

On white

7.46
#8F1A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8F1A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1A9F
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1A9F#FFFFFF#000000##FFFFFF
##8F1A9F1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#31599C
Tritanopia (blue-blind)
#91385F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f1a9f;
/* rgb */ color: rgb(143, 26, 159);
/* oklch */ color: oklch(47.7% 0.208 322.4);
Tailwind
colors: {
  custom: {
    50: '#b468bc',
    500: '#8f1a9f',
    950: '#000000',
  },
}
SCSS
$custom: #8f1a9f;
$custom-light: #b468bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1a9f",
  "rgb": {
    "r": 143,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 292.782,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47721,
    "c": 0.20761,
    "h": 322.4
  },
  "luminance": 0.09082
}

Semantic roles & 50–950 ramp

primary
#8F1A9F
secondary
#5EC550
accent
#EF394F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8F1A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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