#8F1F96#8F1F96

#8F1F96 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.5% C 0.196 H 325.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#8F1F96
RGBrgb(143, 31, 150)
HSLhsl(296, 66%, 35%)
HSVhsv(296, 79%, 59%)
CMYKcmyk(4.7%, 79.3%, 0%, 41.2%)
CIE-LABlab(36.03, 59.22, -39.97)
CIE-LCHlch(36.03, 71.45, 325.98°)
OKLaboklab(47.46% 0.1616 -0.1114)
OKLCHoklch(47.46% 0.196 325.4)
XYZxyz(17.3223, 9.0228, 29.6774)
Luminance0.0902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F96 #26961F
analogous
#541F96 #8F1F96 #961F61
triadic
#8F1F96 #968F1F #1F968F
tetradic
#8F1F96 #96541F #26961F #1F6196
square
#8F1F96 #96541F #26961F #1F6196
split-complementary
#8F1F96 #61961F #1F9654
monochromatic
#2E0A31 #5F1563 #8F1F96 #BF29C9 #D454DC

Accessibility & contrast

On white

7.49
#8F1F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8F1F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1F96
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F96#FFFFFF#000000##FFFFFF
##8F1F961.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#3B5993
Tritanopia (blue-blind)
#92355B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f1f96;
/* rgb */ color: rgb(143, 31, 150);
/* oklch */ color: oklch(47.5% 0.196 325.4);
Tailwind
colors: {
  custom: {
    50: '#b469b5',
    500: '#8f1f96',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f96;
$custom-light: #b469b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f96",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 296.471,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47456,
    "c": 0.1963,
    "h": 325.4
  },
  "luminance": 0.09022
}

Semantic roles & 50–950 ramp

primary
#8F1F96
secondary
#58BF52
accent
#E93F49
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F1F96

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

Preview Lab → · Contrast checker → · Palette generator →

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