#8F1784#8F1784

#8F1784 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.190 H 332.6°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#8F1784
RGBrgb(143, 23, 132)
HSLhsl(306, 72%, 33%)
HSVhsv(306, 84%, 56%)
CMYKcmyk(0%, 83.9%, 7.7%, 43.9%)
CIE-LABlab(34.23, 58.40, -31.74)
CIE-LCHlch(34.23, 66.47, 331.48°)
OKLaboklab(45.84% 0.1683 -0.0874)
OKLCHoklch(45.84% 0.19 332.6)
XYZxyz(15.7990, 8.1198, 22.5605)
Luminance0.0812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1784 #178F22
analogous
#5E178F #8F1784 #8F1748
triadic
#8F1784 #848F17 #17848F
tetradic
#8F1784 #8F5E17 #178F22 #17488F
square
#8F1784 #8F5E17 #178F22 #17488F
split-complementary
#8F1784 #488F17 #178F5E
monochromatic
#260623 #5A0F53 #8F1784 #C41FB5 #E040D2

Accessibility & contrast

On white

8.00
#8F1784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8F1784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1784
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1784#FFFFFF#000000##FFFFFF
##8F17841.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4687
Deuteranopia (green-blind)
#435681
Tritanopia (blue-blind)
#96274F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1784;
/* rgb */ color: rgb(143, 23, 132);
/* oklch */ color: oklch(45.8% 0.190 332.6);
Tailwind
colors: {
  custom: {
    50: '#b466a8',
    500: '#8f1784',
    950: '#000000',
  },
}
SCSS
$custom: #8f1784;
$custom-light: #b466a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1784",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 132
  },
  "hsl": {
    "h": 305.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45835,
    "c": 0.1896,
    "h": 332.6
  },
  "luminance": 0.08118
}

Semantic roles & 50–950 ramp

primary
#8F1784
secondary
#41C14D
accent
#EF4A39
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #8F1784

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

Preview Lab → · Contrast checker → · Palette generator →

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