#8F1F83#8F1F83

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

Color values

HEX#8F1F83
RGBrgb(143, 31, 131)
HSLhsl(306, 64%, 34%)
HSVhsv(306, 78%, 56%)
CMYKcmyk(0%, 78.3%, 8.4%, 43.9%)
CIE-LABlab(34.92, 56.09, -30.03)
CIE-LCHlch(34.92, 63.62, 331.84°)
OKLaboklab(46.31% 0.1619 -0.0825)
OKLCHoklch(46.31% 0.182 333)
XYZxyz(15.9145, 8.4597, 22.2630)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F83 #1F8F2B
analogous
#631F8F #8F1F83 #8F1F4B
triadic
#8F1F83 #838F1F #1F838F
tetradic
#8F1F83 #8F631F #1F8F2B #1F4B8F
square
#8F1F83 #8F631F #1F8F2B #1F4B8F
split-complementary
#8F1F83 #4B8F1F #1F8F63
monochromatic
#2A0927 #5D1455 #8F1F83 #C12AB1 #D94FCA

Accessibility & contrast

On white

7.80
#8F1F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8F1F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1F83
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F83#FFFFFF#000000##FFFFFF
##8F1F831.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194886
Deuteranopia (green-blind)
#465880
Tritanopia (blue-blind)
#962C50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f1f83;
/* rgb */ color: rgb(143, 31, 131);
/* oklch */ color: oklch(46.3% 0.182 333.0);
Tailwind
colors: {
  custom: {
    50: '#b368a7',
    500: '#8f1f83',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f83;
$custom-light: #b368a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f83",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 306.429,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46311,
    "c": 0.18173,
    "h": 333
  },
  "luminance": 0.08458
}

Semantic roles & 50–950 ramp

primary
#8F1F83
secondary
#4EBC5A
accent
#E75240
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F1F83

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

Preview Lab → · Contrast checker → · Palette generator →

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