#8F1F80#8F1F80

#8F1F80 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.1% C 0.180 H 334.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#8F1F80
RGBrgb(143, 31, 128)
HSLhsl(308, 64%, 34%)
HSVhsv(308, 78%, 56%)
CMYKcmyk(0%, 78.3%, 10.5%, 43.9%)
CIE-LABlab(34.76, 55.63, -28.41)
CIE-LCHlch(34.76, 62.46, 332.94°)
OKLaboklab(46.14% 0.1618 -0.0778)
OKLCHoklch(46.14% 0.18 334.3)
XYZxyz(15.7141, 8.3795, 21.2077)
Luminance0.0838 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F80 #1F8F2E
analogous
#661F8F #8F1F80 #8F1F48
triadic
#8F1F80 #808F1F #1F808F
tetradic
#8F1F80 #8F661F #1F8F2E #1F488F
square
#8F1F80 #8F661F #1F8F2E #1F488F
split-complementary
#8F1F80 #488F1F #1F8F66
monochromatic
#2A0926 #5D1453 #8F1F80 #C12AAD #D94FC7

Accessibility & contrast

On white

7.85
#8F1F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8F1F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1F80
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F80#FFFFFF#000000##FFFFFF
##8F1F801.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4783
Deuteranopia (green-blind)
#47577D
Tritanopia (blue-blind)
#962A4E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f1f80;
/* rgb */ color: rgb(143, 31, 128);
/* oklch */ color: oklch(46.1% 0.180 334.3);
Tailwind
colors: {
  custom: {
    50: '#b368a5',
    500: '#8f1f80',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f80;
$custom-light: #b368a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f80",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 128
  },
  "hsl": {
    "h": 308.036,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46143,
    "c": 0.17954,
    "h": 334.3
  },
  "luminance": 0.08378
}

Semantic roles & 50–950 ramp

primary
#8F1F80
secondary
#4EBC5D
accent
#E75740
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F1F80

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

Preview Lab → · Contrast checker → · Palette generator →

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