#8F1F97#8F1F97

#8F1F97 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.197 H 325.1°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#8F1F97
RGBrgb(143, 31, 151)
HSLhsl(296, 66%, 36%)
HSVhsv(296, 79%, 59%)
CMYKcmyk(5.3%, 79.5%, 0%, 40.8%)
CIE-LABlab(36.09, 59.40, -40.48)
CIE-LCHlch(36.09, 71.88, 325.72°)
OKLaboklab(47.52% 0.1616 -0.1128)
OKLCHoklch(47.52% 0.197 325.1)
XYZxyz(17.4032, 9.0551, 30.1033)
Luminance0.0905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F97 #27971F
analogous
#531F97 #8F1F97 #971F63
triadic
#8F1F97 #978F1F #1F978F
tetradic
#8F1F97 #97531F #27971F #1F6397
square
#8F1F97 #97531F #27971F #1F6397
split-complementary
#8F1F97 #63971F #1F9753
monochromatic
#2F0A31 #5F1564 #8F1F97 #BF29CA #D354DC

Accessibility & contrast

On white

7.47
#8F1F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8F1F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1F97
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F97#FFFFFF#000000##FFFFFF
##8F1F971.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#3A5994
Tritanopia (blue-blind)
#92365B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f1f97;
/* rgb */ color: rgb(143, 31, 151);
/* oklch */ color: oklch(47.5% 0.197 325.1);
Tailwind
colors: {
  custom: {
    50: '#b469b6',
    500: '#8f1f97',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f97;
$custom-light: #b469b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f97",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 296,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4752,
    "c": 0.19709,
    "h": 325.1
  },
  "luminance": 0.09054
}

Semantic roles & 50–950 ramp

primary
#8F1F97
secondary
#5ABF52
accent
#E93F4A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #8F1F97

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

Preview Lab → · Contrast checker → · Palette generator →

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