#8F1381#8F1381

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

Color values

HEX#8F1381
RGBrgb(143, 19, 129)
HSLhsl(307, 77%, 32%)
HSVhsv(307, 87%, 56%)
CMYKcmyk(0%, 86.7%, 9.8%, 43.9%)
CIE-LABlab(33.76, 58.84, -30.62)
CIE-LCHlch(33.76, 66.33, 332.51°)
OKLaboklab(45.44% 0.1709 -0.0841)
OKLCHoklch(45.44% 0.19 333.8)
XYZxyz(15.5232, 7.8918, 21.4703)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1381 #138F21
analogous
#5F138F #8F1381 #8F1343
triadic
#8F1381 #818F13 #13818F
tetradic
#8F1381 #8F5F13 #138F21 #13438F
square
#8F1381 #8F5F13 #138F21 #13438F
split-complementary
#8F1381 #438F13 #138F5F
monochromatic
#230520 #590C50 #8F1381 #C51AB2 #E538D1

Accessibility & contrast

On white

8.15
#8F1381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8F1381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1381
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1381#FFFFFF#000000##FFFFFF
##8F13811.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4484
Deuteranopia (green-blind)
#43557E
Tritanopia (blue-blind)
#96234C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f1381;
/* rgb */ color: rgb(143, 19, 129);
/* oklch */ color: oklch(45.4% 0.190 333.8);
Tailwind
colors: {
  custom: {
    50: '#b464a6',
    500: '#8f1381',
    950: '#000000',
  },
}
SCSS
$custom: #8f1381;
$custom-light: #b464a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1381",
  "rgb": {
    "r": 143,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 306.774,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45443,
    "c": 0.19044,
    "h": 333.8
  },
  "luminance": 0.0789
}

Semantic roles & 50–950 ramp

primary
#8F1381
secondary
#3BC34A
accent
#F34A35
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12060F
muted
#817A7F

Preview Lab

Preview with #8F1381

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

Preview Lab → · Contrast checker → · Palette generator →

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