#8F1481#8F1481

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

Color values

HEX#8F1481
RGBrgb(143, 20, 129)
HSLhsl(307, 75%, 32%)
HSVhsv(307, 86%, 56%)
CMYKcmyk(0%, 86%, 9.8%, 43.9%)
CIE-LABlab(33.83, 58.63, -30.51)
CIE-LCHlch(33.83, 66.09, 332.51°)
OKLaboklab(45.5% 0.1702 -0.0838)
OKLCHoklch(45.5% 0.19 333.8)
XYZxyz(15.5405, 7.9264, 21.4761)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1481 #148F22
analogous
#60148F #8F1481 #8F1444
triadic
#8F1481 #818F14 #14818F
tetradic
#8F1481 #8F6014 #148F22 #14448F
square
#8F1481 #8F6014 #148F22 #14448F
split-complementary
#8F1481 #448F14 #148F60
monochromatic
#240520 #590C51 #8F1481 #C51CB1 #E33AD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F1481#FFFFFF#000000##FFFFFF
##8F14811.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)
#0E4584
Deuteranopia (green-blind)
#43567E
Tritanopia (blue-blind)
#96244C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1481;
/* rgb */ color: rgb(143, 20, 129);
/* oklch */ color: oklch(45.5% 0.190 333.8);
Tailwind
colors: {
  custom: {
    50: '#b465a6',
    500: '#8f1481',
    950: '#000000',
  },
}
SCSS
$custom: #8f1481;
$custom-light: #b465a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1481",
  "rgb": {
    "r": 143,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 306.829,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45495,
    "c": 0.18974,
    "h": 333.8
  },
  "luminance": 0.07925
}

Semantic roles & 50–950 ramp

primary
#8F1481
secondary
#3CC34B
accent
#F24B36
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12060F
muted
#817A7F

Preview Lab

Preview with #8F1481

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

Preview Lab → · Contrast checker → · Palette generator →

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