#8F1F9F#8F1F9F

#8F1F9F is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 48.0% C 0.203 H 322.2°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8F1F9F
RGBrgb(143, 31, 159)
HSLhsl(293, 67%, 37%)
HSVhsv(293, 81%, 62%)
CMYKcmyk(10.1%, 80.5%, 0%, 37.6%)
CIE-LABlab(36.60, 60.80, -44.52)
CIE-LCHlch(36.60, 75.36, 323.79°)
OKLaboklab(48.04% 0.1608 -0.1246)
OKLCHoklch(48.04% 0.203 322.2)
XYZxyz(18.0750, 9.3239, 33.6418)
Luminance0.0932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F9F #2F9F1F
analogous
#4F1F9F #8F1F9F #9F1F6F
triadic
#8F1F9F #9F8F1F #1F9F8F
tetradic
#8F1F9F #9F4F1F #2F9F1F #1F6F9F
square
#8F1F9F #9F4F1F #2F9F1F #1F6F9F
split-complementary
#8F1F9F #6F9F1F #1F9F4F
monochromatic
#330B39 #61156C #8F1F9F #BD29D2 #CE5ADF

Accessibility & contrast

On white

7.33
#8F1F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8F1F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1F9F
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F9F#FFFFFF#000000##FFFFFF
##8F1F9F1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#335A9C
Tritanopia (blue-blind)
#913A60
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f1f9f;
/* rgb */ color: rgb(143, 31, 159);
/* oklch */ color: oklch(48.0% 0.203 322.2);
Tailwind
colors: {
  custom: {
    50: '#b46abc',
    500: '#8f1f9f',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f9f;
$custom-light: #b46abc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f9f",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 159
  },
  "hsl": {
    "h": 292.5,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48044,
    "c": 0.20348,
    "h": 322.2
  },
  "luminance": 0.09323
}

Semantic roles & 50–950 ramp

primary
#8F1F9F
secondary
#65C357
accent
#EA3E53
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8F1F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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