#8F1A80#8F1A80

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

Color values

HEX#8F1A80
RGBrgb(143, 26, 128)
HSLhsl(308, 69%, 33%)
HSVhsv(308, 82%, 56%)
CMYKcmyk(0%, 81.8%, 10.5%, 43.9%)
CIE-LABlab(34.27, 57.04, -29.19)
CIE-LCHlch(34.27, 64.07, 332.90°)
OKLaboklab(45.79% 0.166 -0.08)
OKLCHoklch(45.79% 0.184 334.3)
XYZxyz(15.5935, 8.1384, 21.1675)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1A80 #1A8F29
analogous
#631A8F #8F1A80 #8F1A46
triadic
#8F1A80 #808F1A #1A808F
tetradic
#8F1A80 #8F631A #1A8F29 #1A468F
square
#8F1A80 #8F631A #1A8F29 #1A468F
split-complementary
#8F1A80 #468F1A #1A8F63
monochromatic
#270723 #5B1152 #8F1A80 #C323AE #DD46CA

Accessibility & contrast

On white

7.99
#8F1A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8F1A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1A80
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1A80#FFFFFF#000000##FFFFFF
##8F1A801.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174683
Deuteranopia (green-blind)
#46567D
Tritanopia (blue-blind)
#96274D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1a80;
/* rgb */ color: rgb(143, 26, 128);
/* oklch */ color: oklch(45.8% 0.184 334.3);
Tailwind
colors: {
  custom: {
    50: '#b466a5',
    500: '#8f1a80',
    950: '#000000',
  },
}
SCSS
$custom: #8f1a80;
$custom-light: #b466a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1a80",
  "rgb": {
    "r": 143,
    "g": 26,
    "b": 128
  },
  "hsl": {
    "h": 307.692,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45791,
    "c": 0.18425,
    "h": 334.3
  },
  "luminance": 0.08137
}

Semantic roles & 50–950 ramp

primary
#8F1A80
secondary
#46BF55
accent
#EC523C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #8F1A80

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

Preview Lab → · Contrast checker → · Palette generator →

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