#8F1C9D#8F1C9D

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

Color values

HEX#8F1C9D
RGBrgb(143, 28, 157)
HSLhsl(293, 70%, 36%)
HSVhsv(293, 82%, 62%)
CMYKcmyk(8.9%, 82.2%, 0%, 38.4%)
CIE-LABlab(36.19, 61.27, -43.97)
CIE-LCHlch(36.19, 75.42, 324.34°)
OKLaboklab(47.71% 0.1633 -0.123)
OKLCHoklch(47.71% 0.204 323)
XYZxyz(17.8282, 9.1056, 32.7103)
Luminance0.0910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1C9D #2A9D1C
analogous
#4F1C9D #8F1C9D #9D1C6B
triadic
#8F1C9D #9D8F1C #1C9D8F
tetradic
#8F1C9D #9D4F1C #2A9D1C #1C6B9D
square
#8F1C9D #9D4F1C #2A9D1C #1C6B9D
split-complementary
#8F1C9D #6B9D1C #1C9D4F
monochromatic
#300935 #601369 #8F1C9D #BE25D1 #D153E0

Accessibility & contrast

On white

7.44
#8F1C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1C9D
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1C9D#FFFFFF#000000##FFFFFF
##8F1C9D1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#34599A
Tritanopia (blue-blind)
#91385E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f1c9d;
/* rgb */ color: rgb(143, 28, 157);
/* oklch */ color: oklch(47.7% 0.204 323.0);
Tailwind
colors: {
  custom: {
    50: '#b468ba',
    500: '#8f1c9d',
    950: '#000000',
  },
}
SCSS
$custom: #8f1c9d;
$custom-light: #b468ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1c9d",
  "rgb": {
    "r": 143,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 293.488,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4771,
    "c": 0.20445,
    "h": 323
  },
  "luminance": 0.09104
}

Semantic roles & 50–950 ramp

primary
#8F1C9D
secondary
#5EC351
accent
#ED3B4F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8F1C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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