#8F1D84#8F1D84

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

Color values

HEX#8F1D84
RGBrgb(143, 29, 132)
HSLhsl(306, 66%, 34%)
HSVhsv(306, 80%, 56%)
CMYKcmyk(0%, 79.7%, 7.7%, 43.9%)
CIE-LABlab(34.77, 56.83, -30.88)
CIE-LCHlch(34.77, 64.68, 331.48°)
OKLaboklab(46.22% 0.1637 -0.0849)
OKLCHoklch(46.22% 0.184 332.6)
XYZxyz(15.9320, 8.3857, 22.6048)
Luminance0.0838 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1D84 #1D8F28
analogous
#611D8F #8F1D84 #8F1D4B
triadic
#8F1D84 #848F1D #1D848F
tetradic
#8F1D84 #8F611D #1D8F28 #1D4B8F
square
#8F1D84 #8F611D #1D8F28 #1D4B8F
split-complementary
#8F1D84 #4B8F1D #1D8F61
monochromatic
#290826 #5C1355 #8F1D84 #C227B3 #DB4CCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F1D84#FFFFFF#000000##FFFFFF
##8F1D841.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)
#154887
Deuteranopia (green-blind)
#455781
Tritanopia (blue-blind)
#952B50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f1d84;
/* rgb */ color: rgb(143, 29, 132);
/* oklch */ color: oklch(46.2% 0.184 332.6);
Tailwind
colors: {
  custom: {
    50: '#b368a8',
    500: '#8f1d84',
    950: '#000000',
  },
}
SCSS
$custom: #8f1d84;
$custom-light: #b368a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1d84",
  "rgb": {
    "r": 143,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 305.789,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46222,
    "c": 0.18441,
    "h": 332.6
  },
  "luminance": 0.08384
}

Semantic roles & 50–950 ramp

primary
#8F1D84
secondary
#4BBD56
accent
#E94F3F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F1D84

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

Preview Lab → · Contrast checker → · Palette generator →

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