#8F1F9A#8F1F9A

#8F1F9A is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.199 H 324.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#8F1F9A
RGBrgb(143, 31, 154)
HSLhsl(295, 66%, 36%)
HSVhsv(295, 80%, 60%)
CMYKcmyk(7.1%, 79.9%, 0%, 39.6%)
CIE-LABlab(36.28, 59.92, -42.00)
CIE-LCHlch(36.28, 73.17, 324.97°)
OKLaboklab(47.71% 0.1613 -0.1173)
OKLCHoklch(47.71% 0.199 324)
XYZxyz(17.6499, 9.1538, 31.4028)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F9A #2A9A1F
analogous
#521F9A #8F1F9A #9A1F68
triadic
#8F1F9A #9A8F1F #1F9A8F
tetradic
#8F1F9A #9A521F #2A9A1F #1F689A
square
#8F1F9A #9A521F #2A9A1F #1F689A
split-complementary
#8F1F9A #689A1F #1F9A52
monochromatic
#300A34 #601567 #8F1F9A #BE29CD #D156DD

Accessibility & contrast

On white

7.42
#8F1F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8F1F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1F9A
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F9A#FFFFFF#000000##FFFFFF
##8F1F9A1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#385A97
Tritanopia (blue-blind)
#92385D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f1f9a;
/* rgb */ color: rgb(143, 31, 154);
/* oklch */ color: oklch(47.7% 0.199 324.0);
Tailwind
colors: {
  custom: {
    50: '#b469b8',
    500: '#8f1f9a',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f9a;
$custom-light: #b469b8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f9a",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 154
  },
  "hsl": {
    "h": 294.634,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47714,
    "c": 0.19947,
    "h": 324
  },
  "luminance": 0.09153
}

Semantic roles & 50–950 ramp

primary
#8F1F9A
secondary
#5EC154
accent
#E93E4E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #8F1F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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