#8F1F88#8F1F88

#8F1F88 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.6% C 0.185 H 330.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#8F1F88
RGBrgb(143, 31, 136)
HSLhsl(304, 64%, 34%)
HSVhsv(304, 78%, 56%)
CMYKcmyk(0%, 78.3%, 4.9%, 43.9%)
CIE-LABlab(35.20, 56.89, -32.69)
CIE-LCHlch(35.20, 65.61, 330.12°)
OKLaboklab(46.6% 0.1621 -0.0902)
OKLCHoklch(46.6% 0.185 330.9)
XYZxyz(16.2616, 8.5985, 24.0910)
Luminance0.0860 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F88 #1F8F26
analogous
#5E1F8F #8F1F88 #8F1F50
triadic
#8F1F88 #888F1F #1F888F
tetradic
#8F1F88 #8F5E1F #1F8F26 #1F508F
square
#8F1F88 #8F5E1F #1F8F26 #1F508F
split-complementary
#8F1F88 #508F1F #1F8F5E
monochromatic
#2A0928 #5D1458 #8F1F88 #C12AB8 #D94FD0

Accessibility & contrast

On white

7.72
#8F1F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8F1F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1F88
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F88#FFFFFF#000000##FFFFFF
##8F1F881.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11498B
Deuteranopia (green-blind)
#435885
Tritanopia (blue-blind)
#952E53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f1f88;
/* rgb */ color: rgb(143, 31, 136);
/* oklch */ color: oklch(46.6% 0.185 330.9);
Tailwind
colors: {
  custom: {
    50: '#b369ab',
    500: '#8f1f88',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f88;
$custom-light: #b369ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f88",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 136
  },
  "hsl": {
    "h": 303.75,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46599,
    "c": 0.18547,
    "h": 330.9
  },
  "luminance": 0.08597
}

Semantic roles & 50–950 ramp

primary
#8F1F88
secondary
#4EBC55
accent
#E74B40
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F1F88

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

Preview Lab → · Contrast checker → · Palette generator →

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