#8F1581#8F1581

#8F1581 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.189 H 333.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#8F1581
RGBrgb(143, 21, 129)
HSLhsl(307, 74%, 32%)
HSVhsv(307, 85%, 56%)
CMYKcmyk(0%, 85.3%, 9.8%, 43.9%)
CIE-LABlab(33.90, 58.41, -30.39)
CIE-LCHlch(33.90, 65.84, 332.51°)
OKLaboklab(45.55% 0.1696 -0.0835)
OKLCHoklch(45.55% 0.189 333.8)
XYZxyz(15.5585, 7.9624, 21.4821)
Luminance0.0796 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1581 #158F23
analogous
#60158F #8F1581 #8F1544
triadic
#8F1581 #818F15 #15818F
tetradic
#8F1581 #8F6015 #158F23 #15448F
square
#8F1581 #8F6015 #158F23 #15448F
split-complementary
#8F1581 #448F15 #158F60
monochromatic
#240521 #5A0D51 #8F1581 #C41DB1 #E23CCF

Accessibility & contrast

On white

8.10
#8F1581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8F1581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1581
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1581#FFFFFF#000000##FFFFFF
##8F15811.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4584
Deuteranopia (green-blind)
#44567E
Tritanopia (blue-blind)
#96244C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1581;
/* rgb */ color: rgb(143, 21, 129);
/* oklch */ color: oklch(45.5% 0.189 333.8);
Tailwind
colors: {
  custom: {
    50: '#b465a6',
    500: '#8f1581',
    950: '#000000',
  },
}
SCSS
$custom: #8f1581;
$custom-light: #b465a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1581",
  "rgb": {
    "r": 143,
    "g": 21,
    "b": 129
  },
  "hsl": {
    "h": 306.885,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45548,
    "c": 0.18901,
    "h": 333.8
  },
  "luminance": 0.07961
}

Semantic roles & 50–950 ramp

primary
#8F1581
secondary
#3EC24D
accent
#F14C37
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12060F
muted
#817A7F

Preview Lab

Preview with #8F1581

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

Preview Lab → · Contrast checker → · Palette generator →

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