#8F1D82#8F1D82

#8F1D82 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.183 H 333.4°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#8F1D82
RGBrgb(143, 29, 130)
HSLhsl(307, 66%, 34%)
HSVhsv(307, 80%, 56%)
CMYKcmyk(0%, 79.7%, 9.1%, 43.9%)
CIE-LABlab(34.66, 56.52, -29.81)
CIE-LCHlch(34.66, 63.90, 332.19°)
OKLaboklab(46.11% 0.1636 -0.0819)
OKLCHoklch(46.11% 0.183 333.4)
XYZxyz(15.7964, 8.3315, 21.8909)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1D82 #1D8F2A
analogous
#631D8F #8F1D82 #8F1D49
triadic
#8F1D82 #828F1D #1D828F
tetradic
#8F1D82 #8F631D #1D8F2A #1D498F
square
#8F1D82 #8F631D #1D8F2A #1D498F
split-complementary
#8F1D82 #498F1D #1D8F63
monochromatic
#290825 #5C1354 #8F1D82 #C227B0 #DB4CCA

Accessibility & contrast

On white

7.88
#8F1D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8F1D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1D82
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1D82#FFFFFF#000000##FFFFFF
##8F1D821.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184785
Deuteranopia (green-blind)
#46577F
Tritanopia (blue-blind)
#962A4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1d82;
/* rgb */ color: rgb(143, 29, 130);
/* oklch */ color: oklch(46.1% 0.183 333.4);
Tailwind
colors: {
  custom: {
    50: '#b368a6',
    500: '#8f1d82',
    950: '#000000',
  },
}
SCSS
$custom: #8f1d82;
$custom-light: #b368a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1d82",
  "rgb": {
    "r": 143,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 306.842,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46108,
    "c": 0.18296,
    "h": 333.4
  },
  "luminance": 0.0833
}

Semantic roles & 50–950 ramp

primary
#8F1D82
secondary
#4BBD58
accent
#E9523F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F1D82

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

Preview Lab → · Contrast checker → · Palette generator →

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