#8F1A84#8F1A84

#8F1A84 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.187 H 332.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8F1A84
RGBrgb(143, 26, 132)
HSLhsl(306, 69%, 33%)
HSVhsv(306, 82%, 56%)
CMYKcmyk(0%, 81.8%, 7.7%, 43.9%)
CIE-LABlab(34.49, 57.65, -31.33)
CIE-LCHlch(34.49, 65.62, 331.48°)
OKLaboklab(46.02% 0.1661 -0.0862)
OKLCHoklch(46.02% 0.187 332.6)
XYZxyz(15.8620, 8.2457, 22.5815)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1A84 #1A8F25
analogous
#5F1A8F #8F1A84 #8F1A49
triadic
#8F1A84 #848F1A #1A848F
tetradic
#8F1A84 #8F5F1A #1A8F25 #1A498F
square
#8F1A84 #8F5F1A #1A8F25 #1A498F
split-complementary
#8F1A84 #498F1A #1A8F5F
monochromatic
#270724 #5B1154 #8F1A84 #C323B4 #DD46CF

Accessibility & contrast

On white

7.93
#8F1A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8F1A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1A84
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1A84#FFFFFF#000000##FFFFFF
##8F1A841.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114787
Deuteranopia (green-blind)
#445781
Tritanopia (blue-blind)
#96294F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1a84;
/* rgb */ color: rgb(143, 26, 132);
/* oklch */ color: oklch(46.0% 0.187 332.6);
Tailwind
colors: {
  custom: {
    50: '#b467a8',
    500: '#8f1a84',
    950: '#000000',
  },
}
SCSS
$custom: #8f1a84;
$custom-light: #b467a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1a84",
  "rgb": {
    "r": 143,
    "g": 26,
    "b": 132
  },
  "hsl": {
    "h": 305.641,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46019,
    "c": 0.18713,
    "h": 332.6
  },
  "luminance": 0.08244
}

Semantic roles & 50–950 ramp

primary
#8F1A84
secondary
#46BF51
accent
#EC4C3C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #8F1A84

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

Preview Lab → · Contrast checker → · Palette generator →

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