#8F1981#8F1981

#8F1981 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.186 H 333.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#8F1981
RGBrgb(143, 25, 129)
HSLhsl(307, 70%, 33%)
HSVhsv(307, 83%, 56%)
CMYKcmyk(0%, 82.5%, 9.8%, 43.9%)
CIE-LABlab(34.23, 57.45, -29.87)
CIE-LCHlch(34.23, 64.75, 332.53°)
OKLaboklab(45.78% 0.1668 -0.082)
OKLCHoklch(45.78% 0.186 333.8)
XYZxyz(15.6379, 8.1213, 21.5086)
Luminance0.0812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1981 #198F27
analogous
#62198F #8F1981 #8F1946
triadic
#8F1981 #818F19 #19818F
tetradic
#8F1981 #8F6219 #198F27 #19468F
square
#8F1981 #8F6219 #198F27 #19468F
split-complementary
#8F1981 #468F19 #198F62
monochromatic
#270723 #5B1052 #8F1981 #C322B0 #DE44CC

Accessibility & contrast

On white

8.00
#8F1981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8F1981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1981
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1981#FFFFFF#000000##FFFFFF
##8F19811.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144684
Deuteranopia (green-blind)
#45567E
Tritanopia (blue-blind)
#96274D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1981;
/* rgb */ color: rgb(143, 25, 129);
/* oklch */ color: oklch(45.8% 0.186 333.8);
Tailwind
colors: {
  custom: {
    50: '#b466a6',
    500: '#8f1981',
    950: '#000000',
  },
}
SCSS
$custom: #8f1981;
$custom-light: #b466a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1981",
  "rgb": {
    "r": 143,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 307.119,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45784,
    "c": 0.18583,
    "h": 333.8
  },
  "luminance": 0.0812
}

Semantic roles & 50–950 ramp

primary
#8F1981
secondary
#44BF53
accent
#ED503B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #8F1981

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

Preview Lab → · Contrast checker → · Palette generator →

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