#8F1B80#8F1B80

#8F1B80 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.183 H 334.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#8F1B80
RGBrgb(143, 27, 128)
HSLhsl(308, 68%, 33%)
HSVhsv(308, 81%, 56%)
CMYKcmyk(0%, 81.1%, 10.5%, 43.9%)
CIE-LABlab(34.36, 56.77, -29.04)
CIE-LCHlch(34.36, 63.77, 332.91°)
OKLaboklab(45.86% 0.1652 -0.0796)
OKLCHoklch(45.86% 0.183 334.3)
XYZxyz(15.6161, 8.1834, 21.1750)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1B80 #1B8F2A
analogous
#641B8F #8F1B80 #8F1B46
triadic
#8F1B80 #808F1B #1B808F
tetradic
#8F1B80 #8F641B #1B8F2A #1B468F
square
#8F1B80 #8F641B #1B8F2A #1B468F
split-complementary
#8F1B80 #468F1B #1B8F64
monochromatic
#280824 #5C1152 #8F1B80 #C225AE #DC48C9

Accessibility & contrast

On white

7.97
#8F1B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8F1B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1B80
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1B80#FFFFFF#000000##FFFFFF
##8F1B801.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184683
Deuteranopia (green-blind)
#46577D
Tritanopia (blue-blind)
#96274D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1b80;
/* rgb */ color: rgb(143, 27, 128);
/* oklch */ color: oklch(45.9% 0.183 334.3);
Tailwind
colors: {
  custom: {
    50: '#b467a5',
    500: '#8f1b80',
    950: '#000000',
  },
}
SCSS
$custom: #8f1b80;
$custom-light: #b467a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1b80",
  "rgb": {
    "r": 143,
    "g": 27,
    "b": 128
  },
  "hsl": {
    "h": 307.759,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45857,
    "c": 0.18336,
    "h": 334.3
  },
  "luminance": 0.08182
}

Semantic roles & 50–950 ramp

primary
#8F1B80
secondary
#48BE57
accent
#EB533D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #8F1B80

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

Preview Lab → · Contrast checker → · Palette generator →

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