#8F1580#8F1580

#8F1580 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.5% C 0.188 H 334.2°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#8F1580
RGBrgb(143, 21, 128)
HSLhsl(307, 74%, 32%)
HSVhsv(307, 85%, 56%)
CMYKcmyk(0%, 85.3%, 10.5%, 43.9%)
CIE-LABlab(33.85, 58.26, -29.85)
CIE-LCHlch(33.85, 65.46, 332.87°)
OKLaboklab(45.49% 0.1696 -0.0819)
OKLCHoklch(45.49% 0.188 334.2)
XYZxyz(15.4923, 7.9359, 21.1338)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1580 #158F24
analogous
#61158F #8F1580 #8F1543
triadic
#8F1580 #808F15 #15808F
tetradic
#8F1580 #8F6115 #158F24 #15438F
square
#8F1580 #8F6115 #158F24 #15438F
split-complementary
#8F1580 #438F15 #158F61
monochromatic
#240520 #5A0D50 #8F1580 #C41DB0 #E23CCE

Accessibility & contrast

On white

8.12
#8F1580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1580
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1580#FFFFFF#000000##FFFFFF
##8F15801.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114583
Deuteranopia (green-blind)
#44567D
Tritanopia (blue-blind)
#96244C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1580;
/* rgb */ color: rgb(143, 21, 128);
/* oklch */ color: oklch(45.5% 0.188 334.2);
Tailwind
colors: {
  custom: {
    50: '#b465a5',
    500: '#8f1580',
    950: '#000000',
  },
}
SCSS
$custom: #8f1580;
$custom-light: #b465a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1580",
  "rgb": {
    "r": 143,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 307.377,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45491,
    "c": 0.18831,
    "h": 334.2
  },
  "luminance": 0.07934
}

Semantic roles & 50–950 ramp

primary
#8F1580
secondary
#3EC24E
accent
#F14E37
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12060F
muted
#817A7F

Preview Lab

Preview with #8F1580

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

Preview Lab → · Contrast checker → · Palette generator →

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