#8F1582#8F1582

#8F1582 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.190 H 333.4°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#8F1582
RGBrgb(143, 21, 130)
HSLhsl(306, 74%, 32%)
HSVhsv(306, 85%, 56%)
CMYKcmyk(0%, 85.3%, 9.1%, 43.9%)
CIE-LABlab(33.96, 58.56, -30.93)
CIE-LCHlch(33.96, 66.22, 332.16°)
OKLaboklab(45.61% 0.1696 -0.085)
OKLCHoklch(45.61% 0.19 333.4)
XYZxyz(15.6253, 7.9891, 21.8339)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1582 #158F22
analogous
#5F158F #8F1582 #8F1545
triadic
#8F1582 #828F15 #15828F
tetradic
#8F1582 #8F5F15 #158F22 #15458F
square
#8F1582 #8F5F15 #158F22 #15458F
split-complementary
#8F1582 #458F15 #158F5F
monochromatic
#240521 #5A0D51 #8F1582 #C41DB3 #E23CD1

Accessibility & contrast

On white

8.08
#8F1582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8F1582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1582
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1582#FFFFFF#000000##FFFFFF
##8F15821.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4585
Deuteranopia (green-blind)
#43567F
Tritanopia (blue-blind)
#96254D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1582;
/* rgb */ color: rgb(143, 21, 130);
/* oklch */ color: oklch(45.6% 0.190 333.4);
Tailwind
colors: {
  custom: {
    50: '#b465a7',
    500: '#8f1582',
    950: '#000000',
  },
}
SCSS
$custom: #8f1582;
$custom-light: #b465a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1582",
  "rgb": {
    "r": 143,
    "g": 21,
    "b": 130
  },
  "hsl": {
    "h": 306.393,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45606,
    "c": 0.18972,
    "h": 333.4
  },
  "luminance": 0.07988
}

Semantic roles & 50–950 ramp

primary
#8F1582
secondary
#3EC24C
accent
#F14B37
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12060F
muted
#817A7F

Preview Lab

Preview with #8F1582

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

Preview Lab → · Contrast checker → · Palette generator →

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