#8F1F84#8F1F84

#8F1F84 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.182 H 332.6°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#8F1F84
RGBrgb(143, 31, 132)
HSLhsl(306, 64%, 34%)
HSVhsv(306, 78%, 56%)
CMYKcmyk(0%, 78.3%, 7.7%, 43.9%)
CIE-LABlab(34.98, 56.25, -30.56)
CIE-LCHlch(34.98, 64.02, 331.48°)
OKLaboklab(46.37% 0.162 -0.084)
OKLCHoklch(46.37% 0.182 332.6)
XYZxyz(15.9826, 8.4869, 22.6217)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F84 #1F8F2A
analogous
#621F8F #8F1F84 #8F1F4C
triadic
#8F1F84 #848F1F #1F848F
tetradic
#8F1F84 #8F621F #1F8F2A #1F4C8F
square
#8F1F84 #8F621F #1F8F2A #1F4C8F
split-complementary
#8F1F84 #4C8F1F #1F8F62
monochromatic
#2A0927 #5D1456 #8F1F84 #C12AB2 #D94FCB

Accessibility & contrast

On white

7.79
#8F1F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8F1F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1F84
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F84#FFFFFF#000000##FFFFFF
##8F1F841.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184887
Deuteranopia (green-blind)
#455881
Tritanopia (blue-blind)
#952C50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f1f84;
/* rgb */ color: rgb(143, 31, 132);
/* oklch */ color: oklch(46.4% 0.182 332.6);
Tailwind
colors: {
  custom: {
    50: '#b368a8',
    500: '#8f1f84',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f84;
$custom-light: #b368a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f84",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 132
  },
  "hsl": {
    "h": 305.893,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46368,
    "c": 0.18247,
    "h": 332.6
  },
  "luminance": 0.08486
}

Semantic roles & 50–950 ramp

primary
#8F1F84
secondary
#4EBC59
accent
#E75140
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F1F84

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

Preview Lab → · Contrast checker → · Palette generator →

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