#8F1D80#8F1D80

#8F1D80 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.182 H 334.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8F1D80
RGBrgb(143, 29, 128)
HSLhsl(308, 66%, 34%)
HSVhsv(308, 80%, 56%)
CMYKcmyk(0%, 79.7%, 10.5%, 43.9%)
CIE-LABlab(34.56, 56.21, -28.74)
CIE-LCHlch(34.56, 63.13, 332.92°)
OKLaboklab(46% 0.1635 -0.0788)
OKLCHoklch(46% 0.182 334.3)
XYZxyz(15.6635, 8.2783, 21.1908)
Luminance0.0828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1D80 #1D8F2C
analogous
#651D8F #8F1D80 #8F1D47
triadic
#8F1D80 #808F1D #1D808F
tetradic
#8F1D80 #8F651D #1D8F2C #1D478F
square
#8F1D80 #8F651D #1D8F2C #1D478F
split-complementary
#8F1D80 #478F1D #1D8F65
monochromatic
#290825 #5C1352 #8F1D80 #C227AE #DB4CC8

Accessibility & contrast

On white

7.91
#8F1D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8F1D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1D80
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1D80#FFFFFF#000000##FFFFFF
##8F1D801.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4783
Deuteranopia (green-blind)
#47577D
Tritanopia (blue-blind)
#96294E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1d80;
/* rgb */ color: rgb(143, 29, 128);
/* oklch */ color: oklch(46.0% 0.182 334.3);
Tailwind
colors: {
  custom: {
    50: '#b367a5',
    500: '#8f1d80',
    950: '#000000',
  },
}
SCSS
$custom: #8f1d80;
$custom-light: #b367a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1d80",
  "rgb": {
    "r": 143,
    "g": 29,
    "b": 128
  },
  "hsl": {
    "h": 307.895,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45996,
    "c": 0.18151,
    "h": 334.3
  },
  "luminance": 0.08277
}

Semantic roles & 50–950 ramp

primary
#8F1D80
secondary
#4BBD5A
accent
#E9553F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F1D80

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

Preview Lab → · Contrast checker → · Palette generator →

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