#8F1D83#8F1D83

#8F1D83 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.184 H 333.0°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8F1D83
RGBrgb(143, 29, 131)
HSLhsl(306, 66%, 34%)
HSVhsv(306, 80%, 56%)
CMYKcmyk(0%, 79.7%, 8.4%, 43.9%)
CIE-LABlab(34.72, 56.68, -30.35)
CIE-LCHlch(34.72, 64.29, 331.83°)
OKLaboklab(46.17% 0.1637 -0.0834)
OKLCHoklch(46.17% 0.184 333)
XYZxyz(15.8639, 8.3584, 22.2462)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1D83 #1D8F29
analogous
#621D8F #8F1D83 #8F1D4A
triadic
#8F1D83 #838F1D #1D838F
tetradic
#8F1D83 #8F621D #1D8F29 #1D4A8F
square
#8F1D83 #8F621D #1D8F29 #1D4A8F
split-complementary
#8F1D83 #4A8F1D #1D8F62
monochromatic
#290826 #5C1354 #8F1D83 #C227B2 #DB4CCC

Accessibility & contrast

On white

7.86
#8F1D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1D83
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1D83#FFFFFF#000000##FFFFFF
##8F1D831.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164786
Deuteranopia (green-blind)
#455780
Tritanopia (blue-blind)
#962A4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f1d83;
/* rgb */ color: rgb(143, 29, 131);
/* oklch */ color: oklch(46.2% 0.184 333.0);
Tailwind
colors: {
  custom: {
    50: '#b368a7',
    500: '#8f1d83',
    950: '#000000',
  },
}
SCSS
$custom: #8f1d83;
$custom-light: #b368a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1d83",
  "rgb": {
    "r": 143,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 306.316,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46165,
    "c": 0.18368,
    "h": 333
  },
  "luminance": 0.08357
}

Semantic roles & 50–950 ramp

primary
#8F1D83
secondary
#4BBD57
accent
#E9513F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F1D83

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

Preview Lab → · Contrast checker → · Palette generator →

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